|
From: Justin D. <jde...@op...> - 2012-07-27 13:58:26
|
Hi Mark, Unfortunately this crs syntax is not one that geotools understands natively. There is an open issue for this. http://jira.codehaus.org/browse/GEOT-1710 -Justin On Fri, Jul 27, 2012 at 5:32 AM, Mark Paxton <ma...@in...> wrote: > Hello, > > I'm using 8-RC1 and trying to parse some GeoJSON from OpenLayers. There > seems to a problem with the CRS property: > > "crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:OGC:1.3:CRS84"} > > It gives the errors: > > Error parsing urn:ogc:def:crs:OGC:1.3:CRS84 as crs id > > > > Authority "OGC" is unknown or doesn't match the supplied hints. Maybe > > it is defined in an unreachable JAR file? > > In my pom.xml file I have the references as below. Any suggestions? > > Thanks > Mark > > <dependency> > <groupId>org.geotools</groupId> > <artifactId>gt-main</artifactId> > <version>${geotools.version}</version> > </dependency> > <dependency> > <groupId>org.geotools</groupId> > <artifactId>gt-api</artifactId> > <version>${geotools.version}</version> > </dependency> > <dependency> > <groupId>org.geotools</groupId> > <artifactId>gt-opengis</artifactId> > <version>${geotools.version}</version> > </dependency> > <dependency> > <groupId>org.geotools</groupId> > <artifactId>gt-xml</artifactId> > <version>${geotools.version}</version> > </dependency> > <dependency> > <groupId>org.geotools</groupId> > <artifactId>gt-render</artifactId> > <version>${geotools.version}</version> > </dependency> > <dependency> > <groupId>org.geotools.xsd</groupId> > <artifactId>gt-xsd-kml</artifactId> > <version>${geotools.version}</version> > </dependency> > <dependency> > <groupId>org.geotools</groupId> > <artifactId>gt-wms</artifactId> > <version>${geotools.version}</version> > </dependency> > <dependency> > <groupId>org.geotools</groupId> > <artifactId>gt-geojson</artifactId> > <version>${geotools.version}</version> > </dependency> > <dependency> > <groupId>org.geotools</groupId> > <artifactId>gt-referencing</artifactId> > <version>${geotools.version}</version> > </dependency> > <dependency> > <groupId>org.geotools</groupId> > <artifactId>gt-epsg-hsql</artifactId> > <version>${geotools.version}</version> > </dependency> > <dependency> > <groupId>org.geotools</groupId> > <artifactId>gt-epsg-extension</artifactId> > <version>${geotools.version}</version> > </dependency> > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > GeoTools-GT2-Users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. |