Hello Fredrik,
Yes, that's possible. You can use a parser to parse gml to features and and the 
ShapeWriter (ShapeDatastore) to write a shape. See:
http://docs.codehaus.org/display/GEOTDOC/00+Overview+of+Parsing+Technologies
http://www.geotools.org/examples/csv2shp.html

Roy  _____  

From: fredrik38 [mailto:[email protected]]
To: [email protected]
Sent: Thu, 01 Apr 2010 10:38:46 +0200
Subject: [Geotools-devel] GML to Shape


  Hi
  
  I have a question if it is possible to convert between GML and Shape-file
  inside a Java application with GeoTools?
  
  Regards,
  Fredrik
  -- 
  View this message in context: 
http://n2.nabble.com/GML-to-Shape-tp4835860p4835860.html
  Sent from the geotools-devel mailing list archive at Nabble.com.
  
  ------------------------------------------------------------------------------
  Download Intel® Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  _______________________________________________
  Geotools-devel mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/geotools-devel
    
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to