From: Fernando G. <fer...@gm...> - 2007-03-19 09:25:05
|
Hi All, Maybe this is a topic for other list... but anyway: Geotools provides an abstraction to access GML 2.x sources. The problem is that it provides sequential and read only access. There are some other projects that access GML in some way. I know Open Jump, gvSIG, kosmo. If the GML files you have to read aren't very big and you don't have to access a lot of them simultaneosly, maybe some of the solutions I have mentioned may work. Pete, I don't know how much experience you have in GML (I'm quite a beginner), but I think GML is very complicated to do a parser from scratch. Currently I'm involved in gdbms ( http://geosysin.iict.ch/irstv-trac/wiki/GDBMS/TechnicalIssues, http://gdbms.sourceforge.net) which is a general purpose library to read/write different types of sources. I'm trying to build a GML driver for gdbms and that's why I'm in this mailing list but I have the will to reuse parsers from the mentioned projects as much as I can. By the way, I would like to know what "mailing list suggested vtd". Can you tell me? greetings, Fernando On 3/19/07, Jimmy Zhang <cra...@co...> wrote: > > Do you start with a schema or not? I think you can just use XPath to > create only objects of interest... > ----- Original Message ----- > From: "Peter Neu" <pet...@gm... > > To: "'Jimmy Zhang'" <cra...@co...> > Sent: Monday, March 19, 2007 12:40 AM > Subject: AW: [Vtd-xml-users] HowTo use Vtd for GML to Java Mapping? > > > Hello, > > > I'm working on a project for a tool that gathers geo information > from different data sources e.g. different xml dialects, csv and also > GML. Data must be first mapped to java objects in order to allow > the (submitting) user to make adjustments to the data provided and then > write everything to a db in order to give later an output in same data > type > or our own xml dialect. > > > Cheers, > Pete > > > -----Urspr=FCngliche Nachricht----- > > Von: Jimmy Zhang [mailto:cra...@co...] > > Gesendet: Montag, 19. M=E4rz 2007 08:33 > > An: Peter Neu; Vtd...@li... > > Betreff: Re: [Vtd-xml-users] HowTo use Vtd for GML to Java Mapping? > > > > Can you provide a bit more details? For example, what is the starting > > point > > of your task? > > VTD-XML is a fast parser with built-in support for XPath ... > > If you have version 2.0, in it there are various short code examples to > > get > > you started... > > ----- Original Message ----- > > From: "Peter Neu" < pet...@gm...> > > To: <Vtd...@li...> > > Sent: Monday, March 19, 2007 12:06 AM > > Subject: [Vtd-xml-users] HowTo use Vtd for GML to Java Mapping? > > > > > > > Hello, > > > > > > someone on a different mailing list suggested vtd is a good tool for > > > mapping > > > GML to Java Objects. How is this done in detail? > > > Are there any tutorials on this? > > > > > > > > > Cheers, > > > Pete > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > - > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to > share > > > your > > > opinions on IT & business topics through brief surveys-and earn cash > > > > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > > > _______________________________________________ > > > Vtd-xml-users mailing list > > > Vtd...@li... > > > https://lists.sourceforge.net/lists/listinfo/vtd-xml-users > > > > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Vtd-xml-users mailing list > Vtd...@li... > https://lists.sourceforge.net/lists/listinfo/vtd-xml-users > |