From: Mark P. <ma...@in...> - 2012-07-31 09:59:44
|
On 27/07/2012 14:58, Justin Deoliveira wrote: > 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 > Thanks for the help - do you know if there's a compatible CRS string I can just replace it with, or will it work if I remove that attribute completely as it's the assumed default CRS? The comment on the issue mentions replacing it with epsg:4326, but it's unclear if that works (in my tests I had problems too...) Cheers, Mark > -Justin > > On Fri, Jul 27, 2012 at 5:32 AM, Mark Paxton <ma...@in... > <mailto: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... > <mailto:Geo...@li...> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > > > > -- > Justin Deoliveira > OpenGeo - http://opengeo.org > Enterprise support for open source geospatial. > |