When I this on all my feature sources: 
featureSource.getSchema().getDefaultGeometry().getCoordinateSystem()
equals to null.
According things you say this looks like root of my problems.
How can I change this?
I think(but I am not sure if you can help - it would be great) I can 
find how to make featureSorces with non null CoordinateSystem but I 
don't know what CRS should I put there.
Should I put there google CRS 900913 ?
Or there must be some other thing ?


Regards,
Dennis

Andrea Aime wrote:
>
> I'm not sure if this will fix your problem, but that referenced
> envelope you're creating is wrong, the proper world wide coordinates
> for 900913 are: -20037508,20037508,-20037508,20037508 
> (minx,maxx,miny,maxy).
>
> Besides that, does the original data have any srs info inside? If
> not no reprojection will occorr.
> Check you feature source, if the default geometry in the feature
> type has no srs information set, no reprojection will occurr.
>
> Cheers
> Andrea


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to