Hi Andrea,
I think it is good ...
This is mt getSensorSiteType()... if youo want to check ;-) :
try{
return DataUtilities.createType(identifier,
"the_geom:Point,Name:String,TElev:Double");
}catch(SchemaException se){
se.printStackTrace();
}
return null;
Thomas
> Date: Wed, 2 Apr 2008 09:31:49 +0200
> From: [EMAIL PROTECTED]
> CC: [email protected]
> Subject: Re: [Geotools-gt2-users] Writing a Shapefile
>
> Hi Thomas,
> it all seems to be good. Only thing I can think of is some odd
> behaviour in SensorSiteStation.getSensorSiteType(), which I do not
> know what it gives back.
> Sure about the proper schema creation?
>
> Andrea
>
>
> On Wed, Apr 2, 2008 at 9:02 AM, Thomas Bonavia <[EMAIL PROTECTED]> wrote:
> >
> > Hi Jody,
> >
> > Thanks for your answer...
> > I changed the order of the two lines and looked at the return of
> > CRS.decode().
> > I got this :
> >
> > EPSG CODE = GEOGCS["WGS 84",
> > DATUM["World Geodetic System 1984",
> > SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
> > AUTHORITY["EPSG","6326"]],
> > PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
> > UNIT["degree", 0.017453292519943295],
> > AXIS["Geodetic latitude", NORTH],
> > AXIS["Geodetic longitude", EAST],
> > AUTHORITY["EPSG","4326"]]
> >
> > But still have :
> >
> > 2 avr. 2008 08:59:56 org.geotools.data.shapefile.ShapefileDataStore
> > createSchema
> >
> > ATTENTION: PRJ file not generated for null CoordinateReferenceSystem
> >
> > Is there another thing I can try ?
> > Thomas
> >
> >
> >
> > ________________________________
> > > Date: Tue, 1 Apr 2008 12:24:18 -0700
> > > From: [EMAIL PROTECTED]
> > > To: [EMAIL PROTECTED]
> > > CC: [email protected]
> > > Subject: Re: [Geotools-gt2-users] Writing a Shapefile
> >
> > >
> > > Thomas Bonavia wrote:
> > > > myData.forceSchemaCRS(CRS.decode("EPSG:4326"));
> > > > myData.createSchema(SensorSiteStation.getSensorSiteType());
> > > Can you reverse these two lines please? Also you may want to check that
> > > CRS.decode actually returned something other than *null* - it could be
> > > you forgot to include epsg-hsql in your classpath?
> > > > Somebody gets an idea to fix this problem ?
> > > > Thanks,
> > > Have fun,
> > > Jody
> >
> > ________________________________
> > Plus de 15 millions de français utilisent Windows Live Messenger !
> > Téléchargez Messenger, c'est gratuit !
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> >
> > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> > _______________________________________________
> > Geotools-gt2-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >
> >
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
_________________________________________________________________
Recevez tous vos e-mails sur un seul compte ! Créez une adresse Hotmail !
http://www.windowslive.fr/hotmail/default.asp-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users