[GRASS-user] From GRASS to postgis - srid 900914 using v.out.ogr

Markus Neteler neteler at osgeo.org
Mon May 14 15:21:10 EDT 2012


On Mon, May 14, 2012 at 4:52 PM, Daniel Lee <lee at isi-solutions.org> wrote:
> My experience is that it's just best to export from GRASS as a shapefile and
> then import into PostGIS, specifying the coordinate system as I import.
> That's for that very reason - otherwise the coordinate system seems not to
> make it out of GRASS,

While I would not expect that/if so consider it to be a bug, could you try to
enable debug output?

g.gisenv set=DEBUG=3

The output may give ideas.

Use
g.gisenv set=DEBUG=0
to disable then debug output.

Markus


> or perhaps it's PostGIS that can't read it, not sure.
>
> Best,
> Daniel
>
> --
>
> B.Sc. Daniel Lee
> Geschäftsführung für Forschung und Entwicklung
> ISIS - International Solar Information Solutions GbR
> Vertreten durch: Daniel Lee, Nepomuk Reinhard und Nils Räder
>
> Softwarecenter 3
> 35037 Marburg
> Festnetz: +49 6421 379 6256
> Mobil: +49 176 6127 7269
> E-Mail: Lee at isi-solutions.org
> Web: http://www.isi-solutions.org
>
>
>
>
> 2012/5/14 Roberto Marzocchi <roberto.marzocchi at gmail.com>
>>
>> Dear all,
>>
>> exporting a GRASS vector in Postgis suing v.out.ogr the geometry srid is
>> not conserved and I obtain a table with srid = 900914.
>>
>> There is a way to force the srid export of a grass vector using
>> v.out.ogr?
>> Something like the "-a_srs" option of the ogr2ogr command.
>>
>> Many thanks in advanced.
>> Roberto
>>
>>
>> ---
>>
>>
>>
>>
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>


More information about the grass-user mailing list