Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am in deadly need of geoserver rest php scripts for creating workspace, store, publishing layer etc. I have done a lot of googleing but couldn't find any. In geoserver site only examples using cURL are given. Can anybody provide me PHP scripts

share|improve this question

3 Answers 3

up vote 3 down vote accepted

Geoserver REST API can be constructed using

Path GET (read) POST (create) PUT (update) DELETE (delete)


for selecting a SLD you need to GET {yourserver} {port} {user} {password}

/geoserver/rest/styles (exists already in rest api)

This might help for you too http://geoserver.org/display/GEOS/GeoExt+Styler

share|improve this answer

Have you seen http://docs.geoserver.org/stable/en/user/restconfig/rest-config-examples/rest-config-examples-php.html

share|improve this answer
It has only scripts to create a workspace. What about creating a store,publishing a layer and selecting a sld?? where can I find thesE? –  Vikash Talanki Jun 9 '11 at 12:48

well you can use google MAP like how i use on my distance calculator that helps you the right distance and how long does it take to get into finish line, by walk or by car

share|improve this answer
Wrong question? –  underdark Jun 10 '11 at 10:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.