|
POST
|
I want to target a specific Layer in my app (make that selectable to this tool) Allow the user to select a feature in the map Get its Geometry and select features inside that geometry What would be my option? any examples?
... View more
06-27-2014
05:33 AM
|
0
|
7
|
2699
|
|
POST
|
Thank you Scott for your eyes and the Raster Params catch....cheers
... View more
06-26-2014
11:50 AM
|
0
|
0
|
2030
|
|
POST
|
thought ....think I got it..... Was referencing the Clip Layer name incorrectly.... I no longer get an error BUT the exported shapefile does NOT have any features in it???? Changed this if ( registry.byId("layer4").get("checked") ) { clipLayers.push("DGIF_Lakes"); } To This if ( registry.byId("layer4").get("checked") ) { clipLayers.push("DGIF_Public.DBO.DGIF_Lakes"); }
... View more
06-26-2014
11:20 AM
|
0
|
0
|
2030
|
|
POST
|
I ran with your link and there was an output although no DGIF_Lakes which makes sense because I did not define an area....ALTHOUGH there was a FC for each layer in the Map Service in the zip file. I thought the code was just supposed to export the DGIF_Lakes (per my example)...hmmm Weird that I am getting an error with my code but not with your example https://fwisweb1.dgif.virginia.gov/dgifmapping/DataExtract2.html
... View more
06-26-2014
11:06 AM
|
0
|
0
|
2030
|
|
POST
|
hmmmmm...tried the below mod and still job failed...
var params = {
"Layers_to_Clip": clipLayers,
"Area_of_Interest": featureSet,
"Feature_Format": registry.byId("formatBox").get("value"),
"Raster_Format" : "ESRI GRID - GRID"
};
... View more
06-26-2014
11:00 AM
|
0
|
0
|
2030
|
|
POST
|
Thanks will give that a Try...Is that the Correct Syntax "Raster_Format" "ESRI GRID - GRID" or something like "Raster_Format" : "ESRI GRID - GRID" Still failing
... View more
06-26-2014
10:55 AM
|
0
|
0
|
2030
|
|
POST
|
Trying to get the Extract Example to work on my Map Service and GP service. I dont know why its not working but I am getting the error "esriJobFailed" Example: https://developers.arcgis.com/javascript/jssamples/gp_clipasync.html My app is here with all the code available in the Source: https://fwisweb1.dgif.virginia.gov/dgifmapping/DataExtract.html GP Service: https://fwisweb1.dgif.virginia.gov/arcgis/rest/services/Public/ExtractDataTask/GPServer/Clip_n_Zip Map Service: https://fwisweb1.dgif.virginia.gov/arcgis/rest/services/Public/DGIF_Public/MapServer Simply trying to go after the DGIF_Lakes Map Service Layer: if ( registry.byId("layer4").get("checked") ) { clipLayers.push("DGIF_Lakes"); } I have referenced the example and ESRI GP Service and I cannot see any reason for it not to work. Maybe another set of eyes might find the flaw in the code? THanks
... View more
06-26-2014
09:00 AM
|
0
|
9
|
2439
|
|
POST
|
Ken Buja Is that getting the center of the map? I am trying to get the XY of a map click
... View more
06-20-2014
01:07 PM
|
0
|
0
|
1349
|
|
POST
|
Awesome....thank you all very much.....very very appreciated.
... View more
06-20-2014
01:02 PM
|
0
|
0
|
1349
|
|
POST
|
Map is still zooming to the right ???? Dont know why Think I got my XY Coordinate corrected with this
var normalizedVal = webMercatorUtils.xyToLngLat(XCoord, YCoord);
alert(normalizedVal); Although the translated Coordinates put me in the Atlantic Ocean JS App is returning -8036423.598 4246950.54 Translated with webMercatorUtils i get -72.192421 and 35.6089 Should be around -77 and 37 Dont know if there is a better way to capture XY coordinates and populate input boxes
... View more
06-20-2014
12:43 PM
|
0
|
0
|
1349
|
|
POST
|
I have this app...when I scroll zoom it does not zoom to where my mouse pointer is...its not bad in this jsfiddle but in my app its far worse...check the website below...and scroll / zoom in watch how it pushes to the right Any thoughts? Click the MAP button to bring up map http://jsfiddle.net/Q6ss8/6/ https://fwisweb1.dgif.virginia.gov/dgifmapping/2PopupMapInputTextboxCoordinatesy.html 2 other questions: 1. Can I convert the XY to Lat Long after I click the map to populate the text boxes with XY? 2. Is there a better way to do this than using identifyParams?
... View more
06-20-2014
12:30 PM
|
0
|
7
|
2329
|
|
POST
|
Just caught that at the end..... I added that BUT my map does not toggle on and off http://jsfiddle.net/N9Akx/6/ THANKS
... View more
06-20-2014
11:04 AM
|
0
|
0
|
877
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-20-2018 11:09 AM | |
| 1 | 09-10-2018 06:26 AM | |
| 1 | 09-15-2022 11:02 AM | |
| 1 | 05-21-2021 07:35 AM | |
| 1 | 08-09-2022 12:39 PM |
| Online Status |
Offline
|
| Date Last Visited |
09-19-2022
09:23 PM
|