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>


-- 
View this message in context: 
http://old.nabble.com/PostGIS%3A-Error-occurred-trying-to-reproject-data-tp29528822p29528822.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to