Tag Info

New answers tagged

1

Right now the ESRI CDN source looks like it has a broken build. For instance, you cannot pan or zoom on the map right now whereas yesterday you could. I would wait until later in the day to see if their fix doesn't take care of your problem.


3

You'll need to check your username.style file to see if you have write access to it, or if it's even there. By default, it's under: C:\Users\username\AppData\Roaming\ESRI\Desktop10.3\ArcMap\username.style You can also go to Customize -> Style Manager to see if your .style file is referenced properly.


0

Yes, it can be done. You will need urllib / urllib2 to download the csv. (See this stackoverflow question.) To load the CSV you will probably want to use Make XY Event Layer To transform coordinates you will need to Project it.


3

You do not need to delete the row/cursor objects when using the with statement, this will automatically clean up when __exit__ is called after the cursor has exhausted itself. Also, it is easier to reference the fields by index because the rows are returned as tuples: with arcpy.da.UpdateCursor(polyline, ["SEWER_TYPE", "Layer"]) as cursor: for row in ...


0

The item_queue_id corresponds to the ID of the import process, but not to your table. This was incorrectly said in the documentation and we have just fixed it. If you want to update a table that you have previously uploaded then you need to use the SQL API, or build a Sync table from the import API too (this requires that your account is able to create them ...


0

Thomas' answer works perfectly but I checked that it is not necesary to create a new function and define fromProjection and toProjection as global variables introducing directly the following code inside the script just at the end. map.events.register("moveend", map, function(){ $("#Bounds2").text(" -> "+map.getExtent()); ...


2

You could register the zoomend- and moveend-Event for your map like this: function bounds_update() { $("#Bounds1").text(" -> " + map.size); $("#Bounds2").text(" -> " + map.getExtent()); $("#Bounds3").text(" -> " + map.getExtent().transform(toProjection, fromProjection)); $("#Bounds4").text(" -> " ...



Top 50 recent answers are included