Hello Justin,
Thank you for indicating that uploading a .prj file along with the other
files will do.
In a meanwhile, I'm recorring to postgis to get me the transformed
coordinates and then sending a PUT with the <latLonBoundingBox /> to update
the featuretype... big turn I know :p
Bye,
Marco Afonso
2011/10/3 Justin Deoliveira <[email protected]>
> Hi Marco,
>
> If you use the shapefile upload endpoint [1] this should be computed for
> you if the shapefile contains valid crs info (.prj file). If the store
> already exists and you are adding a new feature type [2] then again it
> should be computed if the shapefile has valid projection info (.prj file) or
> the feature type representation you are uploading includes CRS info.
>
> -Justin
>
> [1]
> http://docs.geoserver.org/stable/en/user/restconfig/rest-config-examples/rest-config-examples-curl.html#uploading-a-shapefile
> [2]
> http://docs.geoserver.org/stable/en/user/restconfig/rest-config-api.html#feature-types
>
> On Sun, Oct 2, 2011 at 4:57 AM, Marco Afonso <[email protected]>wrote:
>
>> Hi all,
>>
>> Is there a way to compute Lon/Lat BoundingBox from the REST service for a
>> shapefile store?
>>
>> Thanks,
>> Marco Afonso
>>
>>
>> ------------------------------------------------------------------------------
>> All of the data generated in your IT infrastructure is seriously valuable.
>> Why? It contains a definitive record of application performance, security
>> threats, fraudulent activity, and more. Splunk takes this data and makes
>> sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-d2dcopy2
>> _______________________________________________
>> 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.
>
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users