Tag Info

New answers tagged

1

I managed to complete this task by converting the polygons in lines and then I use the SAGA GIS and the tool split Lines with Lines.


1

Looking at that image, my question would be - are you sure it's the islands? It could be the coastline. Fixes: Islands - if you think it's the islands, then just exclude them. I'd suggest simply calculating the areas of the features and removing any that are island sized. There appears to be a clear size difference in your features so you won't end up ...


0

Rather than deleting the islands you could run the Singlepart to Multiparts tool (Vector > Geometry Tools) on your state layer using the counties as the unique ID field. The output will then be a record for each county, if you then re-run the Mean coordinate it should then be more central as there are far fewer counties than islands. For reference The ...


0

ArcGIS often throws a topoengine error when it runs out of memory while running in 32 bit mode and performing overlay operations. To get around that I either chop-up the job or use 64 bit geoprocessing with lots of RAM and Repair Geometry on all input features (create local copies first if you don't want to mess up your inputs with the repair).


0

This is the stack I have been using for a couple of years: Ubuntu Server 12.04 GRASS 6.4 PyWPS 3 GRASS 7 is now packaged for Ubuntu 14.04 at the Ubuntu-GIS PPA. You could also try with those and then PyWPS 3. Note: PyWPS 4 is likely to be released in the next few months.


0

`Hi, ^Nebula93^, For the Create Feature Class and Add Field tools, there are a few parameters you have to sort out either in your CSV or in the script in order to make the tool abstract and generalizable like you want. For instance for your feature class, you need a variable for what geometry type is it (Point, Polygon?) and what coordinate system is it in ...


1

If you really need your layer physically (e.g., saved on your disk), you should follow @Tangnar's advice, but if you want to play with the layer (basically what they are for), there is no such need (since you are testing layer behaviour by a script). Professionally I do not use (never, ever) MakeFeatureLayer_management to create layer in Python scripts but ...


0

Feature layers are temporary... From Arc Help "The layer that is created by the tool is temporary and will not persist after the session ends unless the layer is saved to disk or the map document is saved." If you are trying to save it, you need to save it as a layer file, or save it as a feature class. ...


1

There is Aggregate Polygons (Cartography) tool in ArcGIS. Looks like it is what are you looking for:


1

A few suggestions. Make one large polygon the overlays everything and the use the Erase function (info license only) to get the gaps as polygons. Now break up this polygon into a fishnet and use spatial joins. Now Dissolve on the value that gives you the colors above. Use Spatial Allocation to fill the empty space. Polygonize it, do not simplify. Now ...


0

And the answer is: not only do you have to rerun the tool, you have to restart Arcmap. It must cache the server path somewhere and will only change to a different server if you turn it off and on again.


0

Here is a simple polygon that is touching its own ring at one point: WKT of the polygon is POLYGON ((76 224, 84 224, 84 216, 78 216, 78 221, 79 219, 79 223, 78 221, 76 224)) PostGIS reports that this polygon is not valid: select ST_IsValid(ST_GeomFromText(' POLYGON ((76 224, 84 224, 84 216, 78 216, 78 221, 79 219, 79 223, 78 221, 76 224)) ')) === f ...



Top 50 recent answers are included