[Qgis-user] Polygon from text coordinates

Tim Sutton tim at linfiniti.com
Mon Aug 4 12:53:19 PDT 2008


Hi

2008/7/30 Agustin Lobo <aloboaleu at gmail.com>:
> Is it possible to define a polygon
> (actually easier, just a rectangle)
> using text coordinates?
> can bookmarks be saved as text files
> or exported as shp?
>

If you know a little sql you can do some tricks. The bookmarks are
stored in an sqlite3 database in your ~/.qgis/qgis.db database.

Using command line sql or one of several free sqlite3 admin frontends,
you can query to get out the bookmarks or create new ones e.g.

sqlite3 ~/.qgis/qgis.db

sqlite> select * from tbl_bookmarks;
1|Test||-159.705|-132.842|153.48|136.971|-1
2|test2||-159.705|-132.842|153.48|136.971|-1
...
...

Regards

Tim






> Thanks
> Agus
> --
> Dr. Agustin Lobo
> Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
> LLuis Sole Sabaris s/n
> 08028 Barcelona
> Spain
> Tel. 34 934095410
> Fax. 34 934110012
> email: Agustin.Lobo at ija.csic.es
> http://www.ija.csic.es/gt/obster
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
Tim Sutton
QGIS Project Steering Committee Member - Release Manager
Visit http://qgis.org for a great open source GIS
Blog: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net



More information about the Qgis-user mailing list