Quantcast
Channel: OpenCities Map Wiki
Viewing all articles
Browse latest Browse all 1284

- VRT File Parameters to import Point, Line, Polygon

$
0
0
Current Revision posted to Geospatial Desktop - Wiki by Dan Weston on 3/16/2016 3:25:15 PM

This issue began as a Geospatial Desktop Forum thread.  The results have been posted here as a Support Solution.

 

VRT File Parameters by RodWing

I've found the example VRT file to import a CSV file containing point data and have been using that quite a bit. Is it possible to import line and polygon data from a CSV file? If so, what are the VRT file tags to do that? Is there any additional documentation on the VRT file tags?

Thanks.

---


Re: VRT File Parameters by Jerry Walter - Bentley:

Possible sources of information.

www.gdal.org/.../drv_vrt.html

http://www.gdal.org/ogr/

HTH

Jerry

---


Re: VRT File Parameters by Jeff Bielefeld:

Rod,

Attached is a set of sample CSV files and related VRT file defined as...

...which makes use of WKT geometry field encoding for points, lines and polygons. After opening the example VRT file, the "Interoperability" application displays the following...

...with an "Import" resulting in the following feature instances...

...and "Analyze Feature" showing both business and geometric properties, as well as the WKT property...

 ...which you may want to disable in the "Interoperability" application prior to performing the "Import" operation.   This can be accomplished by using the "Show Properties - Ungrouped' option, and 'unchecking' the WKT item.

vrt_geometries1.zip

---

 

Re: VRT File Parameters by RodWing:

Thanks Jeff!

Tags: Interoperability, VRT, OGR, gdal, .csv

Viewing all articles
Browse latest Browse all 1284

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>