|
POST
|
As per the pdf, they need to be called out by the name you put in the "label" tag that you used to load them into the operational layers, not the actual REST service name. R_ Dear Robert, I've checked alle the names off the layers in de REST and the are exactly the same now. But no result in the identifyer until now. What else can be wrong? <layers onlythese="true"> <layer> <name>BAG</name> <fields>BAG_VBO,ArcGIS.GISDATA.BAG_VBO_POLY,BAG_NUMMER,BAG_LIGPLAATSEN,BAG_PANDEN,BAG_STANDPLAATSEN</fields> <zoomscale>15000</zoomscale> <forcescale>true</forcescale> </layer> <layer> <name>Operationele_Info</name> <fields>ArcGIS.GISDATA.ZIEKENHUIZEN,Brandkranen OASEN,Brandkranen EVIDES 23-6-2011,AARDGASSTATIONS,C2000,DRINKWATERSTATIONS,UGS,HM_BETUWEROUTE,HM_HSL,HM_LINGELIJN,WAS_SIRENE,MEETPUNT_WVD,BRANDWEERKAZERNE,BUISLEIDINGEN</fields> <zoomscale>15000</zoomscale> <forcescale>true</forcescale> </layer> </layers> Best Regards, Johan.
... View more
11-28-2011
01:57 PM
|
0
|
0
|
1757
|
|
POST
|
Was wondering if you ever found a solution for this? Piece of cake using the Web ADF maps with the identify tool, but have not figured out a way with Flex/Flash. Of course, need to figure this out for a Mapservice, as I don't have ImageServer. Thanks, R_ Professional ESRI beta tester (aka paying customer)
... View more
11-28-2011
01:38 PM
|
0
|
0
|
2950
|
|
POST
|
Hi Robert, Any other ideas as to which mxml is handling the popups from your modified InfoTemplates? I can completely comment out this section in the InfoContenetItemRenderer file and no change. So, apperantly, it is not calling that at all. Must be "hidden" somewhere else. Rhett, I don't have any experience with that scenario, but I would look at the InfoContentItemRenderer.mxml and this label: <s:Label id="value"
width="100%"
maxDisplayedLines="-1"/> thanks again, R_
... View more
11-22-2011
09:45 AM
|
0
|
0
|
1613
|
|
POST
|
Thanks again, I will look into that and see how it compares to the standard popup window (which resizes the data to the window). Also, I have found a workaround for the multiple paths to images. It appears as if I can code the sub-folder into the filename and seems to be working. folder1\derby_1.jpg,folder1\derby_2.jpg,derby_3.jpg,folder3\derby_4.jpg Thanks again, R_
... View more
11-21-2011
09:31 AM
|
0
|
0
|
1613
|
|
POST
|
Thanks again, Couple things going on here. My data looked like derby_1.jpg, derby_2.jpg,derby_3.jpg, derby_4.jpg and it does not like spaces in front of the filenames. Also, I had the <multiimagefield> inside the <links> tag. Moved it below the <links> tab and is working. Now just need to remove the spaces from my list. Thanks again, R_ Also, some of my attributes that I have in the <fields> area have pretty long text strings. Since this popup resizes to fit the data, on the features with a large "comment", the info window gets so large it goes off the screen/map. is there a way to have this keep the info window a specific size and wrap the text inside the window, instead of resize window to fit text?
... View more
11-21-2011
08:50 AM
|
0
|
0
|
1613
|
|
POST
|
Thanks Robert, I had looked at the code some and appreciate you showing me where to look/modify. However, I am new enough to this, I can't seem to figure out how the different pages work together. Not sure how args/variables are passed from one module to the other, since variable names are not the same, etc. Think I will need a little more "practice" before I take this on. For now, I have just made a copy of the images to a single folder to get it working. However, i can not seem to get the multiimage to work. I have tried to remove the linkfield line in case it only allows one or the other, but no joy. If I put the multiimagefield as one of the <fields>, it identifies it and even lists all the comma separated jpeg files, but I do not see any Next/Prev buttons or a preview. If I use both the link and multiimage lines, the link works just fine and has a preview for the features that only have a single photo (features can have zero to 8 photo names in the multiimage field). If there is more than one photo, it will put the entire CSV string in the browser line, so I know it is getting the values but have yet to see the multi image option. Does this only work if ALL features have multiple images or something? Below are my two lines of code. have tried with both, one, or the other. <linkfield icon_or_text_or_img="img" icon="" linkalias="Photo" linkprefix="http://gis01.wch-rcc.com/rkz/images/" linksuffix="">PHOTOS</linkfield>
<multiimagefield linkprefix="http://gis01.wch-rcc.com/rkz/images/" linksuffix="" nexttooltip="Next" prevtooltip="Prev">PHOTOS</multiimagefield > Do you see anything obvious that I am missing or have any ideas? Thanks again, Rhett
... View more
11-21-2011
08:14 AM
|
0
|
0
|
1613
|
|
POST
|
Thanks much for the help, My string was forming a UNC path, not a URL. With the URL, the images preview just fine and works great. However, I would like to use the multi image option, but have ran into a snag. I have an images folder with my jpegs in it, but, they are in sub-folders within. Way to many to have all in a single folder. I do have a field that has the full path, one with name of the single folder that the images are in, as well as a field with comma separated filenames. Is there some way to have it append a "post" prefix prefix that is coming from a field so that it knows which sub-folder to load the jpegs from? something like <multiimagefield linkprefix="http://server/images/" linkpostprefix=FOLDER (plus a slash) linksuffix="" nexttooltip="Next" prevtooltip="Prev">PHOTOS</multiimagefield > Where FOLDER is a field containing the folder the images reside in PHOTOS is the field with CSV filenames. Thanks again for the help, R_
... View more
11-17-2011
06:02 PM
|
0
|
0
|
1613
|
|
POST
|
Ok so for the project I am doing I only need to display two pictures. So I figured I would just have two <linkfield> tags instead of one <multiimagefield> tag. They would be clickable thumbnails that open the picture in the internet browser, and that would be great. So I put them in there and only one picture shows up. I've tested both fields to make sure they there are no spelling errors or anything like that, and they work fine individually. So perhaps it is not possible. if I set the "icon_or_text_or_img" property to text for one picture and the other to "img" they show up fine and are clickable links, but I cannot get two thumbnail pictures to show up. Any thoughts? Thanks. Curious what you had to do to get the thumbnail to show? Do they have to be created somehow? Mine seems to be working, but I get a photo icon in the pop up, instead of a thumbnail image. Thanks, R_
... View more
11-16-2011
01:14 PM
|
0
|
0
|
1411
|
|
POST
|
rzufelt, That functionality is not configurable yet If you want, you can modify the source code and recompile to get your desired functionality now. EDIT line 197, 198 in CoordinateMenuWidget.mxml to be the following...
copyString = copyString.replace(/{X}/g, mPoint.x.toFixed(2)); //replace X
copyString = copyString.replace(/{Y}/g, mPoint.y.toFixed(2)); // replace y
I will try and add that functionality into the config next release.. Thanks for the info Drew Thanks Drew, Worked like a charm. I have no problem modifying the source code, however, I'm pretty new at this, and could not figure out how/where to make the change. Thanks again for the help and the widget, R_
... View more
11-16-2011
06:58 AM
|
0
|
0
|
3624
|
|
POST
|
Great little widget, works like a charm. I can get the displayed coordinates to show only 2 decimal points, but can't figure out how to make the X,Y copied to the clipboard be only 2 decimal points. Especially would like to be able to set this for the copy Map coord to clipboard. Would be nice for the projected coordinates also, but mainly would like to get the map coords truncated. Am I missing something easy? If not, any suggestions? Thanks, R_ Career ESRI beta tester
... View more
11-15-2011
02:49 PM
|
0
|
0
|
3624
|
|
POST
|
I see nobody has responded, but was wondering if you ever found a solution for this? Thanks, R_ Professional ESRI beta tester
... View more
10-17-2011
02:51 PM
|
0
|
0
|
497
|
|
POST
|
Interesting that ESRI never did reply to this thread. Here is the info I got from ESRI tech support: With regards to the steps you referred to, I was able to find the details from a previous support incident. Apparently, all of the tools in the Metadata_conversion toolbox are based on C# and will not work outside of ArcMap in a python environment, unless the following dll's are added to the Group Assembly Cache (GAC): 1. Open Windows file explorer 2. Navigate to C:\WINDOWS\assembly 3. Open another window with explorer 4. Navigate to C:\Program Files\ArcGIS\Desktop10.0\Bin 5. Select the GpMetadataFunctions.dll and MetadataTranslator.dll and drag and drop them into the GAC. However, it didn't work. Don't remember what I did as it was a while back. Do remember that I did a Google search and found a link that listed two ways to do it. One was with the utility, and didn't work, the other did. R_ Professional ESRI beta tester
... View more
05-02-2011
12:56 PM
|
1
|
0
|
3512
|
|
POST
|
I had this problem using python for metadata importing. turns out I had to make my .py script call an os.system(batchfile.bat). Inside this batch file, I ran a separate metadataimport.py. this way, the metadataimport spawns a separate python.exe (while the other is still running), then upon completion, removes the lock files, as that was the only process under the new python.exe. hope this helps, R_ Professional ESRI beta tester I'm trying to delete a file geodatabase in my script and I keep getting the dreaded may be locked by another application error. It's not in use by any other application. The script creates the gdb. I've reset my environments, refreshed the catalog, and even tried deleting the gp first and then using os.remove to delete the gdb but no luck. I have made sure to delete all my search and update cursors along the way so that shouldn't lock it. Once the script completes(with the error) I can use ArcCatalog to delete the gdb with no problem. If anyone has a suggestion I'm all ears. At this point I've spent almost as much time developing the entire complex script as I have trying to delete the geodatabase. Thanks, Nils
... View more
02-15-2011
04:12 PM
|
0
|
0
|
3007
|
|
POST
|
This is a known issue for ArcGIS 10: NIM058011. The metadata geoprocessing tools are written in C#. If you add GpMetadataFunctions.dll and MetadataTranslator.dll to the Global Assembly Cache (GAC) the script will run successfully outside of ArcGIS. This issue affects all of the metadata geoprocessing tools, not just Export Metadata. NOTE: this issue has nothing to do with Map Automation, and probably belongs in a general geoprocessing forum. So, since the only reference to that bug number is within other bugs, and none of them explain the "workaround", they just say to add the two dll's to the GAC. Would be really nice if there was some post somewhere, or directions of how to do such a thing. R_ Professional ESRI beta tester
... View more
01-04-2011
03:44 PM
|
0
|
0
|
3512
|
|
POST
|
I, too, have a hard time figuring out the correct scripting syntax for things like Calculate Field. The foolproof way is to execute the tool using its dialog then open the Results window (10.0) or the Results tab (9.3), right-click the result and click "Copy as Python snippet". This copies the code snippet to the clipboard and you can then paste it into your script. Executing the tool to get the code snippet sort of defeats the purpose of writing a script (you just executed the tool in order to figure out how to execute the tool). So I usually execute the tool on a toy dataset in order to get the snippet. Would be nice if this actually worked. I have tried it on several python snippets to no avail. As an example, the script located here: http://forums.arcgis.com/threads/2937-auto-sequential-numbers-with-python?p=62103#post62103 works perfectly from the calculator (or calculate fields) tool, but will not run as a python script. I have exported to python as well as the copy to python listed here, and the syntax is not correct. R_ Professional ESRI beta tester
... View more
12-14-2010
10:45 AM
|
0
|
0
|
1139
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | 04-02-2026 09:50 AM | |
| 1 | 04-01-2026 01:21 PM | |
| 1 | 10-08-2025 11:59 AM | |
| 1 | 09-05-2025 03:16 PM |
| Online Status |
Online
|
| Date Last Visited |
7 hours ago
|