[R-sig-Geo] WriteOGR to GeoJSON loses CRS

Frede Aakmann Tøgersen frtog at vestas.com
Tue Aug 12 08:32:16 CEST 2014


Sorry. I was too hasty. I suppose that your problem is with the GDAL drivers. I see that http://www.gdal.org/drv_geojson.html points to http://www.gdal.org/drv_geojson.html.

Which package belong writeOGR to. What is the version of the package? What is the version of your GDAL installation. What does e.g. 'gdalinfo --formats' show?

Yours sincerely / Med venlig hilsen


Frede Aakmann Tøgersen
Specialist, M.Sc., Ph.D.
Plant Performance & Modeling

Technology & Service Solutions
T +45 9730 5135
M +45 2547 6050
frtog at vestas.com
http://www.vestas.com

Company reg. name: Vestas Wind Systems A/S
This e-mail is subject to our e-mail disclaimer statement.
Please refer to www.vestas.com/legal/notice
If you have received this e-mail in error please contact the sender. 


> -----Original Message-----
> From: r-sig-geo-bounces at r-project.org [mailto:r-sig-geo-bounces at r-
> project.org] On Behalf Of Frede Aakmann Tøgersen
> Sent: 12. august 2014 08:19
> To: Philip Greenwood; r-sig-geo at r-project.org
> Subject: Re: [R-sig-Geo] WriteOGR to GeoJSON loses CRS
> 
> Hi
> 
> Google points me to http://geojson.org/geojson-spec.html. See Section 3
> about CRSs.
> 
> Yours sincerely / Med venlig hilsen
> 
> 
> Frede Aakmann Tøgersen
> Specialist, M.Sc., Ph.D.
> Plant Performance & Modeling
> 
> Technology & Service Solutions
> T +45 9730 5135
> M +45 2547 6050
> frtog at vestas.com
> http://www.vestas.com
> 
> Company reg. name: Vestas Wind Systems A/S
> This e-mail is subject to our e-mail disclaimer statement.
> Please refer to www.vestas.com/legal/notice
> If you have received this e-mail in error please contact the sender.
> 
> 
> > -----Original Message-----
> > From: r-sig-geo-bounces at r-project.org [mailto:r-sig-geo-bounces at r-
> > project.org] On Behalf Of Philip Greenwood
> > Sent: 12. august 2014 08:13
> > To: r-sig-geo at r-project.org
> > Subject: [R-sig-Geo] WriteOGR to GeoJSON loses CRS
> >
> > Hi I am using WriteOGR to write a SpatialPolygonsDataFrame to a
> temporary
> > GeoJSON file. However the CRS seems to be lost in the resulting file.
> > Does the GeoJSON driver support CRSs?
> >
> > Thanks
> > Phil
> >
> > ---
> > Philip Greenwood
> > Product Manager
> > Australian Urban Research Infrastructure Network (AURIN)
> > Level 2 West, Alice Hoy Building, University of Melbourne
> > T: +61-(0)3-9035-8549
> > E:
> >
> philip.greenwood at unimelb.edu.au<mailto:philip.greenwood at unimelb.edu
> > .au>
> >
> >
> >
> > 	[[alternative HTML version deleted]]
> >
> > _______________________________________________
> > R-sig-Geo mailing list
> > R-sig-Geo at r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



More information about the R-sig-Geo mailing list