POST
|
i publish an auto-reponse for one problem. But it's not resolved totaly. The old MXD came from an Arcgis 9.3 and the properties is not update if i d'ont open Mapdocument in the version 10.2.2. The link to the default database is null. When i open in Arcmap the link is ok tio the default geodatabase. But i have a lot of MXS and it's impossible to open all. My question is :It's possible in ArcPy to automatilly like the others properties (Summary, Authors ,...) to put this information of default geodatabase for many old MXD ? Thank a lot
... View more
04-19-2015
03:34 AM
|
0
|
0
|
202
|
POST
|
HI communauty geonet, and users, I try to update the metadatas (summary, details, Authors, ...) of many mxds in a folder and when i execute my python script all is ok (no error). When i have for exemple 3 mxds in a folder, and when i open the propriety of the first mxd in the list the information is ok. But when i open the second mxd the information in the case is null. And when Open Mapdocument the information is ok for this second mxd. My problem is for my second script when a push the mxds in arcgis server. On the service map the information is ok for the first and not for the other. My code is this one (sorry for my english): # -*- coding: cp1252 -*- #import modules import arcpy, sys, os, string import xml.dom.minidom as DOM import codecs #Read parameters from dialog filedoss = arcpy.GetParameterAsText(0) u = arcpy.GetParameterAsText(1) Summary = u.encode('cp1252', 'strict') i = arcpy.GetParameterAsText(2) Description = i.encode('cp1252', 'strict') o = arcpy.GetParameterAsText(3) Author = o.encode('cp1252', 'strict') Credits = o.encode('cp1252', 'strict') fileanc = arcpy.GetParameterAsText(4) MapPath= [] MapFolder = os.listdir(filedoss) arcpy.env.workspace = filedoss for file in MapFolder: fileExt = os.path.splitext(file)[1] if fileExt == ".mxd": MapPath = os.path.join(filedoss, file) arcpy.AddMessage (MapPath) #set map document to change mxd = arcpy.mapping.MapDocument(MapPath) base = os.path.basename(filedoss).upper() #Nouveau nom file_name_temp = "NOM_" + base + "_" + file #arcpy.AddMessage ("MXD a sauvegarder :" + file_name) arcpy.AddMessage ("MXD sauvegarde :" + file_name_temp) # Test existence de la sauvegarde if os.path.exists(file_name_temp): arcpy.AddMessage("Fichier mxd existe") try : # essaye de le supprimer os.remove(file_name_temp) except : arcpy.AddError ("Fichier non sauvegarde : impossible de le supprimer") sys.exit() #change Title mxd.title = file_name_temp #change Summary mxd.summary = Summary #change Description mxd.description = Description #change Author mxd.author = Author #change credits mxd.credits = Credits #Update map document tags #Generate unique, sorted list of layer names layers = arcpy.mapping.ListLayers(mxd) layerList = [] for lyr in layers: if not lyr.isGroupLayer: layerList.append(lyr.name) uniqueList = list(set(layerList)) uniqueList.sort() #Update map document tags tagList = ",".join(uniqueList) mxd.tags = tagList for lyr in layers: if lyr.supports("DATASOURCE"): lyr.replaceDataSource(filedoss, 'SHAPEFILE_WORKSPACE', lyr.datasetName, False) #set relative paths property mxd.relativePaths = True #update Thumbnail mxd.deleteThumbnail() mxd.makeThumbnail() #save map document change #SAuvegarde sous nouveau mxd.saveACopy(file_name_temp) arcpy.AddMessage ("Fichier sauvegarde") arcpy.RefreshTOC() arcpy.RefreshActiveView() arcpy.RefreshCatalog(file_name_temp) del mxd
... View more
04-18-2015
03:37 AM
|
0
|
1
|
3474
|
POST
|
hi, hello, i present you my problem with mores details: I harvesting by CSW a catalogue with XML conform with the iso 19115 profil in geoportal but with 2 fielsds out of Standard ISO19115. gmd, gmd in identificationInfo Node. I think that the reply by CSW is an XML complet with this information. The validation by geoportal is not ok. With error (Invalid argument start wtih ... organisme). when i delete the xsd location of definition-iso19115.xml the csw is read and the metadata is ok for validation and ok for publish by CSW. But i don't want to delete this information xsdlocation because i want a validation iso19115 for all metadata also for the csw metadata. what is th file cswoutputformat, apiso-brief, and apiso-summary. this files is in the definition.xml file of iso19115. Because i want a transformation before the validation xsd where the gmd and gmd was deleted. I want to know if it's possible to developpe a XSLT before the validation with xsdlocation.xsd file and what is the file cswoutputformat, apiso-brief, and apiso-summary. this files is in the definition-iso19115.xml. Is it possible to add my own XSLT this file to tranform my XML from the CSW before the validation. Thank's for your help.
... View more
06-06-2014
01:16 AM
|
0
|
0
|
313
|
POST
|
hi, hello, i try to customize a profil and harvesting by CSW a catalogue with XML no conform with the iso 19115 profil in geoportal. when i delete the xsd location of definition.xml the csw is read and the metadata is ok for validation and ok for publish. but i don't want to delete this information xsdlocation because i want a validation iso19115 for all metadata also for the csw metadata. I want to know if it's possible to developpe a XSLT before the validation with xsdlocation file and what is th file cswoutputformat, apiso-brief, and apiso-summary. this files is in the definition.xml file of iso19115. It's possible to add my own XLTS this file to tranform my XML from the CSW before the validation. Thank's for your help.
... View more
06-03-2014
10:24 PM
|
0
|
1
|
2074
|
POST
|
Hi, i post you my ldap log, do you have any comment, thank's a lot. conn=1105064 fd=68 slot=68 connection from 10.*.*.* to 10.*.*.* [11/Apr/2014:09:17:22 +0200] conn=1105064 op=0 BIND dn="uid=***,ou=people,dc=***,dc=***,dc=***" method=128 version=3 [11/Apr/2014:09:17:22 +0200] conn=1105064 op=0 RESULT err=0 tag=97 nentries=0 etime=0 dn="uid=***,ou=people,dc=***,dc=***,dc=***" [11/Apr/2014:09:17:22 +0200] conn=1105064 op=1 SRCH base="uid=***,,dc=***,dc=***" scope=2 filter="(&(objectClass=person)(uid=***))" attrs=ALL [11/Apr/2014:09:17:22 +0200] conn=1105064 op=1 RESULT err=0 tag=101 nentries=1 etime=0 [11/Apr/2014:09:17:22 +0200] conn=1105065 fd=69 slot=69 connection from 10.*.*.* to 10.*.*.* [11/Apr/2014:09:17:22 +0200] conn=1105065 op=0 BIND dn="uid=***,ou=people,dc=***,dc=***,dc=***" method=128 version=3 [11/Apr/2014:09:17:22 +0200] conn=1105065 op=0 RESULT err=0 tag=97 nentries=0 etime=0 dn="uid=***,ou=people,dc=***,dc=***,dc=***" [11/Apr/2014:09:17:22 +0200] conn=1105065 op=1 UNBIND [11/Apr/2014:09:17:22 +0200] conn=1105065 op=1 fd=69 closed - U1 [11/Apr/2014:09:17:22 +0200] conn=1105064 op=2 SRCH base="uid=***,ou=people,dc=***,dc=***,dc=***" scope=0 filter="(objectClass=*)" attrs=ALL [11/Apr/2014:09:17:22 +0200] conn=1105064 op=2 RESULT err=0 tag=101 nentries=1 etime=0 [11/Apr/2014:09:17:22 +0200] conn=1105064 op=3 SRCH base=",ou=group,dc=***,dc=***,dc=***" scope=2 filter="(&(objectClass=posixgroup)(memberUid=uid=***,ou=people,dc=***,dc=***,dc=***))" attrs="cn" [11/Apr/2014:09:17:22 +0200] conn=1105064 op=3 RESULT err=0 tag=101 nentries=0 etime=0 [11/Apr/2014:09:17:22 +0200] conn=1105064 op=4 UNBIND [11/Apr/2014:09:17:22 +0200] conn=1105064 op=4 fd=68 closed - U1
... View more
04-10-2014
11:23 PM
|
0
|
0
|
625
|
POST
|
hello, i work on this problem to connect geoportal to my group of ldap this week. And i don't find any issues. Your comment is very good :" POSIX the memberSearchPattern would probably look something like this: memberSearchPattern="(&(objectclass=posixGroup)(memberUid={0}))" But we may need to substitute the user�??s �??uid�?� attribute at {0} rather than their distinguished name. There may also be issues with recursion (groups that are members of groups). We also list the members of a group (for instance, when a an admin transfers ownership), this would also need some work" Because objectclass is posix Group and attribute is memberUid in my Ldap. i try to find in this log the dn of the group but no result. displayNameAttribute="cn" dynamicMemberOfGroupsAttribute="" dynamicMembersAttribute="" memberAttribute="memberUid" memberSearchPattern="(&(objectclass=posixGroup)(memberUid={0}))" searchDIT="ou=Group,dc=***,dc=***,dc=***"> Also, i try to configure the SSO with tomcat and it's the same issue. Please do you have any suggestions ! and can i send you the log of access ldap to see if you find a solution ? thanks a lot
... View more
04-10-2014
10:56 AM
|
0
|
0
|
625
|
POST
|
http://translate.google.com/#auto/en/Impossible%20d%E2%80%99acc%C3%A9der%20au%20magasin%20de%20configuration%20sur Google translate is very useful. Yes, with certainty. But anyone have an idea ? Many thanks. Regards
... View more
03-19-2013
05:27 AM
|
0
|
0
|
355
|
POST
|
hi, Probaly: 'Unable to access the configuration store on Thanks
... View more
03-14-2013
05:21 AM
|
0
|
0
|
355
|
POST
|
Hi, i install an Argis Server on Linux and join this site with an ArcGIS Server pre-install by ' join a site' on a Windows Server. But an error said: 'Server machine 'http://xxxxxx(windows):6080/arcgis/admin' returned an error. 'Impossible d???accéder au magasin de configuration sur '/xxxxxxx(Linux)/data/www/html/config-store'.''. Normal... I think that this error is due to the two differents OS and specially due to the UNC Path that ArcGIS Server can't read and convert. In ArcGIS Desktop this functionnality is ok because we can publish a shape on an Arcgis Server install on Linux and also Windows. My question is : Is it possible to find a workaround to build my architecture and is it possible to find this functionnality in a future build of Arcgis Server (10.2 perhaps ?) ? Ex: Cache /xxxxxxxx(Linux)/arcgisserver/directories/arcgiscache Tâches /xxxxxxxx(Linux)/arcgisserver/directories/arcgisjobs Sortie /xxxxxxxx(Linux)/arcgisserver/directories/arcgisoutput Système /xxxxxxxx(Linux)/arcgisserver/directories/arcgissystem Thank Best regards
... View more
03-13-2013
08:50 AM
|
0
|
6
|
463
|
POST
|
Thanks for you reply. It's ok, to administration but when i choose the first option 'Register ressource on the network", the home page is open. Then i look in my log, probaly a Tomcat error: log GPT: " 10 mars 2011 07:33:41 org.apache.catalina.core.StandardWrapperValve invoke GRAVE: "Servlet.service()" pour la servlet Faces Servlet a g�?©n�?©r�?© une exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:435) at com.esri.gpt.control.filter.EncodingFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) 10 mars 2011 07:35:49 org.apache.catalina.core.ApplicationDispatcher invoke GRAVE: "Servlet.service()" pour la servlet jsp a lanc�?© une exception org.apache.jasper.JasperException: /catalog/harvest/harvestBody.jsp(420,0) "#{not empty HarvestController.editor.repository.uuid? HarvestController.editor.repository.localId: gptMsg['catalog.harvest.manage.message.willBeGenerated'] }" contient d'incorrecte(s) expression(s): javax.el.ELException: Error Parsing: #{not empty HarvestController.editor.repository.uuid? HarvestController.editor.repository.localId: gptMsg['catalog.harvest.manage.message.willBeGenerated'] } at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) do you have any solution ? thanks
... View more
03-10-2011
01:08 AM
|
0
|
0
|
588
|
POST
|
Please, the problem isn't resolved. In the geoportal 10 repositories isn't implement ? Thank
... View more
03-04-2011
10:39 PM
|
0
|
0
|
588
|
POST
|
Hi. i have the same problem. Administrator Tab is done. Maybe a few change in gpt.xml file ? Where ? Thank
... View more
02-22-2011
10:48 AM
|
0
|
0
|
588
|
POST
|
Ok thanks, i'll try with this exemple and if it doesn't work, i find another solution or wait the update version.
... View more
02-18-2011
06:31 AM
|
0
|
0
|
625
|
POST
|
Hi, thanks In my gpt.xml, the Base DN is right for all. I use Jxplorer and "Copy DN", and paste in gpt.xml. My admin system says that my enterprise use a linux server for LDAP and POSIX configuration for user ID "uid" (it's like: name1 name2 name3) GPT 10 want to read probably: "uid=name1,ou=people, cn=***,cn=***" The value is not configurable in GPT10. Thanks
... View more
02-17-2011
08:01 AM
|
0
|
0
|
625
|
POST
|
Hi, i have the same problem. Authentifiat is ok but no button Administration and Repository on web page. In <roles authenticatedUserRequiresRole="true"> : groupDN="cn=gpt_admin,ou=Groups,ou=geoportal"/> is right for all groups. For exemple: groupDN="cn=***,ou=Group,dc=***,dc=***,dc=**"/> user ID is "uid" and group "cn". The LDAP server is install on linux system The role or group is not recognize by GPT.10 Thank for you help
... View more
02-17-2011
12:52 AM
|
0
|
0
|
625
|
Online Status |
Offline
|
Date Last Visited |
05-18-2021
04:18 AM
|