Tag Info

New answers tagged

0

There is no problem in registering events one by one. The problem is the amount of events registered. As more events more time to process them. You must check what stuff is turned on map. Several controls that can be attached to the map maybe stopping the click event. You can put the layer as the last layer on map, so it should be the highest. If you do ...


0

Just to provide some further color on the solution to this. The first answer worked well to a certain point, but I still had problems with memory leak from ArcGIS. The final working solution was to split my code into two scripts, where the first code split the files into chunks of 1000 and then fed this into ArcGIS via a subprocess.call-process. This way ...


1

OK, so I moved away from generating this polygon data directly in PostGIS and used qGis instead as it was better for my learning curve to see this happen visually, and the voronoi polygons contained far less errors and overlapping regions over the same sample than the various postgis algorithms I tested - here are the steps I took: Added a PostGIS layer ...


2

First off, I don't think you want to be saving these as layer files (.lyr). A layer file is only a pointer to data. You need to save the data to a feature class or shapefile. The output from the Make XY event layer tool is a "in memory layer" and it is gone once the session is over. That needs to be converted to feature class to save it to your computer. ...


1

Faster Voronoi Diagrams in PostGIS In python (Python 2.x) # Voronoi diagram calculator/ Delaunay triangulator # Translated to Python by Bill Simons # September, 2005 # # Additional changes by Carson Farmer added November 2010 # # Converted to pl/pythong function by Darrell Fuhriman, April 2012 # based on code from: # ...


0

You need to add a clone of the map layer to the overview control rather than the layer itself. The OpenLayers overview map example has a bit more information in the page source: A clone of the above layer that we will use as overview for map2. We need to clone jpl before the it gets added to a map, so the clone can have its own maxExtent and ...



Top 50 recent answers are included