Hi Justin,
thanks, I found it - still some questions:

so I can use this operation to upload a file:
/workspaces/<ws>/datastores/<ds>/file[.<extension>] - PUT
ws - name of workspace
ds - name of data store
extension - zip for zipped shapefiles

If ds does not exist, it will be created (defined per target parameter) - as
I can see the target parameter can be shp, properties, h2 or spatialite

1) what is the target parameter for postgis?
2) how can I configure the postgis (connection parameters...)?

Kind regards
Martin



Justin Deoliveira-6 wrote:
> 
> Hi Martin,
> 
> It actually is documented... just sort of hidden. And there should really
> be
> some examples for it. But you can find it here:
> 
> http://docs.geoserver.org/stable/en/user/restconfig/rest-config-api.html#data-stores
> 
> Scroll down a bit until around the third table in that section. Let us
> know
> if you still can't find it or if anything is unclear.
> 
> -Justin
> 
> On Fri, Feb 25, 2011 at 6:30 AM, Martin Zeller <[email protected]> wrote:
> 
>>
>> Hi,
>>
>> regarding this
>> http://blog.geoserver.org/2011/01/18/geoserver-21rc1-released/ blog post
>> of Justin Deoliveira, where he said:
>> >>...This addition allows users to upload a shapefile and have it
>> converted
>> automatically
>> >> into a PostGIS database, publishing it as a PostGIS layer rather than
>> as
>> >> a Shapefile layer...
>>
>> I searched the documentation without success - probably this feature is
>> too
>> new... It is not clear for me, how I can convert a shapefile to PostGIS.
>> How
>> does it work?
>>
>> Thank you very much and kind regards
>> Martin Zeller
>>
>>
>>
>> -----
>> http://www.torres.at/ http://www.torres.at/
>> --
>> View this message in context:
>> http://old.nabble.com/GeoServer-2.1.x-conversion-feature-tp31013046p31013046.html
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Free Software Download: Index, Search & Analyze Logs and other IT data in
>> Real-Time with Splunk. Collect, index and harness all the fast moving IT
>> data
>> generated by your applications, servers and devices whether physical,
>> virtual
>> or in the cloud. Deliver compliance at lower cost and gain new business
>> insights. http://p.sf.net/sfu/splunk-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.
> 
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in 
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data 
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business 
> insights. http://p.sf.net/sfu/splunk-dev2dev 
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 


-----
http://www.torres.at/ http://www.torres.at/ 
-- 
View this message in context: 
http://old.nabble.com/GeoServer-2.1.x-conversion-feature-tp31013046p31013505.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to