Hot answers tagged

2

Could you check ArcGIS help, which stated that This warning commonly occurs when the Extent or XYDomain environment settings have been previously set for a specific geographic area and the values were inadvertently used when running another tool.


2

Save AS ... the kml file as a shapefile into a CRS that uses meters as units, like your local UTM zone. Then you can use the $length variable to label the line with the length in the layers units.


2

Currently the extrusion you are setting in Pro that would go towards publishing a feature service in AGOL is not supported in the scene viewer. You can do this in code with the JS API 4.0(currently in beta, final coming soon!). Check out this blog to help you get started: ...


2

The KML Encoder (like most of GeoTools) works with features not geometries so you need to wrap your polygon in a feature, this gives you the opportunity to add some attributes to make your KML more useful too. public static void main(String[] args) throws IOException { File t = new File("test1.kml"); SimpleFeatureTypeBuilder builder = new ...


2

The easiest way to get OpenStreetMap extracts would probably be through Mapzen's Metro Extracts tool here I would suggest exporting it in GeoJSON, then using a tool like ogr2gre (there's an online version here) to convert it to KML. You may also be interested in looking at Overpass Turbo for exporting data from OpenStreetMap.


2

That script is outdated. You can use the built in functionality of ArcGIS Desktop's ArcToolbox: http://desktop.arcgis.com/en/arcmap/latest/tools/conversion-toolbox/kml-to-layer.htm It's in the Conversion Tools toolbox, and then inside From KML.


2

Download administrative boundaries of the spain and portugal from in .shp format from http://www.gadm.org/ you can import the shapefiles into QGIS or another software the filter with query builder to isolate the regions you are interested in QGIS you can install openlayer plugin from the vectors tab select- openstreetmap then select download data points, ...


2

The best way to get boundaries of countries, provinces and regions is to use the OSM Boundaries application: https://osm.wno-edv-service.de/boundaries/ Extracting boundaries from generic tools like Overpass Turbo is not always easy, as the boundaries may contain errors and are likely complex multipolygons consisting of many parts. The OSM Boundaries ...


1

You could download data directly from Openstreetmap as .osm file, and convert it in QGIS as .kml, since QGIS supports export data as .kml. Alternatively, you could download data from Geofabrik (also openstreeet map data, but country by country, as .gbd/mdb, and in ArcMap, export it as .kml. Also, I would suggest you to use, if you have, shapefiles od Spain ...


1

Yes, there is a plugin for that.


1

Ok, this turned out to be as simple as text search and replace: <Polygon><outerBoundaryIs><LinearRing> to <LineString> and </Polygon></outerBoundaryIs></LinearRing> to </LineString>


1

Mapbox's togeojson converter handles this very nicely. It flattens the contents of all layers/folders into sibling features. A bonus: unlike the accepted answer using ogr2ogr to extract each layer/folder, togeojson preserves features in the top-level, and not in any directory. Since it's JavaScript, it can run in your browser at ...



Only top voted, non community-wiki answers of a minimum length are eligible