How are you creating the feature types? ARe you writing the xml
configuration files directly? If so you will have to use geotools to map the
epsg code to the wkt defintion.

I also think (not 100% sure) that for native crs you can actually just use
an epsg code, rather than the wkt text. So you can try that.

Finally you can also use the REST configuration api to create the feature
type with only having to specify the epsg code and geoserver will
automatically populate the other fields like nativeCRS.

-Justin

On Wed, Dec 1, 2010 at 4:04 AM, Anne Brookes <
[email protected]> wrote:

>  Hello,
>
> Could someone tell me how the nativeCRS is defined?  I want to create a
> Geoserver featuretype dynamically but am not sure how I would define the
> nativeCRS.$ string, just from knowing the EPSG projection code  It looks
> similar but not the same as a Proj4js projection definition.  Here is the
> JSON nativeCRS.$ response from GeoServer for an existing featuretype in
> RGF93 projection
>
>
>
> But the Proj4js def for RGF93 is :
>
> +proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=700000 +y_0=6600000
> +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs
>
>
>
> Cann anyone help, please? Thanks,
>
> *Anne Brookes*
>
> Senior Analyst - GIS and System Development
>
>
>
>     [image: JBA Consulting] <http://www.jbaconsulting.co.uk/>
>
> **
>
> **
>
> *JBA Consulting*
>
> *South Barn*
>
> *Broughton Hall*
>
> *Skipton*
>
> *North Yorkshire*
>
> *BD23 3AE*
>
> *United Kingdom*
>
> *[image: NCE Consultant of the Year 
> 2010]<http://www.jbaconsulting.co.uk/?q=nce-winner-2010>
> *
>
>  *t: +44 (0)1756 799919 | f: +44 (0)1756 799449 *
>
> **
>
>
>
> JBA is a Carbon Neutral Company. Please don't print this e-mail *unless
> you really need to*.
>
> This email is covered by JBA Consulting's email 
> disclaimer<http://www.jbaconsulting.co.uk/emaildisclaimer>
> .
>
>
>
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

<<image/gif>>

<<image/gif>>

<<image001.png>>

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to