What version of GeoServer are you using?

Victor Tey has recently fixed some reprojection bugs in app-schema. 
There might be some more patches to be committed. Victor?

On 25/08/10 13:09, smas036 wrote:
>
> Hello,
>
> I have been trying to setup an app-schema mapping for a PostGIS data source.
> The table I am sourcing the data from has an EPSG:4272 and I have set this
> in the featuretype (shown below).
>
> A GetFeature requets results in the following error:
>
> java.lang.RuntimeException: java.io.IOException: Error occurred trying to
> reproject data
> java.io.IOException: Error occurred trying to reproject data
> Error occurred trying to reproject data
> null
>
> I have seen the other main post on this topic and tried to make sure the two
> EPSGs were the same.
> http://old.nabble.com/Upgrade-from-RC-to-stable-2.0-with-App-Schema-td26435458.html#a26599926
>
> I have experimented with changing the FORCE_DECLARED option to KEEP_NATIVE
> but then the feature is not recognized in the request
>
> Any suggestions?
>
> Cheers
>
> Sina
>
> <featureType>
>    <id>LCDB1_ni_lc_6012_featuretype</id>
>    <name>ni_lc_6012</name>
>    <nativeName>ni_lc_6012</nativeName>
>    <namespace>
>      <id>LCDB1_namespace</id>
>    </namespace>
>       <title>...TITLE...</title>
>       <abstract>...ABSTRACT...</abstract>
>       <srs>EPSG:4272</srs>
>       <latLonBoundingBox>
>               <minx>-180</minx>
>               <maxx>180</maxx>
>               <miny>-90</miny>
>               <maxy>90</maxy>
>               <crs class="projected">EPSG:4272</crs>
>       </latLonBoundingBox>
>       <projectionPolicy>FORCE_DECLARED</projectionPolicy>
>       <enabled>true</enabled>
>       <metadata>
>               <entry key="kml.regionateFeatureLimit">10</entry>
>               <entry key="indexingEnabled">false</entry>
>               <entry key="cachingEnabled">false</entry>
>       </metadata>
>       <store class="dataStore">
>               <id>LCDB1_ni_lc_6012_datastore</id>
>       </store>
>       <maxFeatures>0</maxFeatures>
>       <numDecimals>0</numDecimals>
> </featureType>
>
>


-- 
Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to