Hi Jody, Thank you. I'll have to talk about this to my supervisor. The metadata support might not be important enough to justify the effort. But if I have to program it, I'd be happy to share my work with everyone. I can read the DeveloperGuide, don't worry. I still have a question, though. Is there any standard for the .shp.xml format? If so, could you help me get information about it, please? I can't find any.
G.L Jody Garnett-2 wrote: > > Three is an official shapefile.shp.xml file format to hold this kind of > information; but nobody ever uses it. GeoTools has limited support for > reading these files currently; if you would like to review the code and > extend the facility it would be appreciated. I see you already found the > "info" data structure we fill in with what information we can find. > > Jody > > On 28/01/2011, at 2:54 AM, G.L. wrote: > >> >> Hi, >> >> I use Geotools 2.7 and I managed to build the shapefiles I wanted to >> build. >> I would like to add some metadata to my files. I'd like to be abble to >> open >> an existing shapefile and attach information such as: >> >> name - type >> >> forecastDateTime - String >> generatedDate - String >> notes - String >> productName - String >> organisation - String >> latitudeMin - Int >> latitudeMax - Int >> longitudeMin - Int >> longitudeMax - Int >> >> etc. >> >> I have found some objects that might be abble to hold some form of >> information but no way to write it to a file or read it. I haven't found >> any >> example about it. Is there any way to do so? Can anyone please help me? >> >> Thanks. >> >> G.L >> -- >> View this message in context: >> http://osgeo-org.1803224.n2.nabble.com/Reading-Writing-metadata-from-to-a-shapefile-tp5966999p5966999.html >> Sent from the geotools-gt2-users mailing list archive at Nabble.com. >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better >> price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> Geotools-gt2-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Reading-Writing-metadata-from-to-a-shapefile-tp5966999p5970728.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
