[Qgis-user] writing vector data for QGIS input from a python script using osgeo ogr

Lee Eddington lee.w.eddington at gmail.com
Tue Jan 22 09:12:06 PST 2019


Nicolas,

Thank you for the link.  I was able to use the info to create a wkt file that worked.  But I also had to use a blog post to help me to figure out how to add the proper header:

	https://gis.stackexchange.com/questions/107152/how-to-create-wkt-file-readable-by-qgis-2-4-0 <https://gis.stackexchange.com/questions/107152/how-to-create-wkt-file-readable-by-qgis-2-4-0>

Do you know where the official documentation is that explains that?  I’m sure it’s out there, but I couldn’t find it.

Thanks,
Lee



> On Jan 21, 2019, at 8:48 PM, Nicolas Cadieux <nicolas.cadieux at archeotec.ca> wrote:
> 
> QGIS can read wkt. This could help. https://en.m.wikipedia.org/wiki/Well-known_text <https://en.m.wikipedia.org/wiki/Well-known_text>
> Nicolas
> 
> Le 21 janv. 2019 à 20:26, Lee Eddington <lee.w.eddington at gmail.com <mailto:lee.w.eddington at gmail.com>> a écrit :
> 
>> I’d like to write vector line data in lat/lon coordinates to a file that QGIS can read and display.  I have the osgeo ogr module, but can’t see to find the right documentation on how to use it for this simple task.
>> 
>> Thanks,
>> Lee
>> 
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190122/f0dbfa54/attachment.html>


More information about the Qgis-user mailing list