[gdal-dev] trying create a new SHP with Ogr2ogr from ODBC: SQL
SERVER
Antonio Castillo
gantonio.castillo at gmail.com
Tue Feb 2 12:11:52 EST 2010
Good morning for all
I'm begin to work with ogr2ogr, and i'm trying create a new .shp file from a
connection ODBC, but when i add the .shp file created in MapWindow or in
Quantum GIS these no display the points in the map window,when i open the
attribute table window of my .shp file, i can see all the data and
attributes in the grid, but i don't see them in the Map Window.
*i can see what the bounding box properties is set in 0*
what do i´m doing wrong?
this is the command for ogr2ogr
ogr2ogr -f "ESRI Shapefile" -a_srs "EPSG:4326" "puentes.shp"
"ODBC:INACMASQL" -nlt POINT -sql "SELECT
p.nombre,t.latitud,t.longitud,t.altura FROM puente p,trayectoria t WHERE
p.id_trajectory = t.id_trayectoria"
than you for you help!
--
Ing Germán Antonio Castillo P.
---------------------------------------
www.AcaroLabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100202/b2096c29/attachment.html
More information about the gdal-dev
mailing list