Hi Martin,

How are you running your project? Are you using maven directly? Or are 
you running from a binary release?

If you are you using maven directly can just add the xsd-gml3 module to 
your pom and then all necessary dependencies will be automatically handled.

However if you are running from the binary release, you will need all 
the regular geotools jars, plus the xsd-gml3,xsd-gml2, and xsd-core 
jars. Here is an exhaustive list of all he java libraries you will need. 
You can replace 2.5-SNAPSHOT with whatever version you are using.

common-2.2.1.jar
commons-beanutils-1.7.0.jar
commons-collections-3.1.jar
commons-jxpath-1.2.jar
commons-logging-1.1.1.jar
commons-pool-1.3.jar
ecore-2.2.2.jar
geoapi-2.2.0.jar
gt-api-2.5-SNAPSHOT.jar
gt-coverage-2.5-SNAPSHOT.jar
gt-epsg-hsql-2.5-SNAPSHOT.jar
gt-graph-2.5-SNAPSHOT.jar
gt-main-2.5-SNAPSHOT.jar
gt-metadata-2.5-SNAPSHOT.jar
gt-referencing-2.5-SNAPSHOT.jar
gt-xsd-core-2.5-SNAPSHOT.jar
gt-xsd-gml2-2.5-SNAPSHOT.jar
gt-xsd-gml3-2.5-SNAPSHOT.jar
hsqldb-1.8.0.7.jar
jai_core-1.1.3.jar
jdom-1.0.jar
jsr-275-1.0-beta-2.jar
jts-1.9.jar
picocontainer-1.2.jar
vecmath-1.3.1.jar
xercesImpl-2.7.1.jar
xml-apis-1.0.b2.jar
xml-apis-xerces-2.7.1.jar
xsd-2.2.2.jar

Hope that helps, let me know if you have any problems.

-Justin


Martin Tomko wrote:
> Dear Justin, all,
> I am playing with the parsing of GML geometries from GML3. What are the 
> correct maven dependencies for GML3 and the associate XML parser?
> I have troubles to do the imports suggested by Justin:
> 
> import org.geotools.gml3.GMLConfiguration;
> import org.geotools.xml.Parser;
> 
> using geotools 2.5. snapshot.
> 
> for the following code:
> GMLConfiguration gml = new GMLConfiguration();
> Parser p = new Parser(gml);
> 
> Polygon p = (Polygon) p.parse( ... );
> 
> Thanks
> Martin


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to