Use the GeoServer web interface to configure the layer properly, then issue
a GET request in the UI to get a sample XML document with all the fields you
have set.

Hope this helps.

--
David Winslow
OpenGeo - http://opengeo.org/

On Wed, Nov 3, 2010 at 2:14 PM, Kostis Kyzirakos <[email protected]> wrote:

> Cool!
> I am able to create new features using my postgis tables, but for some
> reason the layer that is been created has null values at the Native SRS and
> the bounding box...
> Could you help me with this?
> Can I pass these values though curl somehow? I searched the documentation
> but I didn't find anything relevant.
>
> Cheers,
> Kostis
>
> On Tue, Nov 2, 2010 at 6:31 PM, David Winslow <[email protected]>wrote:
>
>> GeoServer has an extension providing a REST API for just this sort of
>> thing:
>>
>> http://docs.geoserver.org/stable/en/user/extensions/rest/index.html
>>
>> Hope this helps.
>>
>> --
>> David Winslow
>> OpenGeo - http://opengeo.org/
>>
>> On Tue, Nov 2, 2010 at 12:25 PM, Kostis Kyzirakos <[email protected]>wrote:
>>
>>> Hi,
>>> I am new to geoserver and a have a question that may be trivial for
>>> everybody, but unfortunatelly it is not clear for me (and googling wasn't
>>> very helpful).
>>>
>>> I have some gis data stored in a PostGIS database. Depending on data that
>>> are been inserted in PostGIS,  I am currently creating some views that
>>> contain some geometry columns.  I would like to know if there is an
>>> automatic way to create/publish this views as a new layer through geoserver.
>>> I know before-hand all the parameters that I need to know to create the new
>>> layer, but I want to this this automatically (e.g., some java code or a bash
>>> script or a postgres trigger or someting like that).
>>>
>>> Is this possible in GeoServer? If so, could you provide me some relevant
>>> pointers? Or even better, is there a similar example out there?
>>>
>>> Thanks in advance for your help!
>>>
>>> Regards,
>>> Kostis
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Nokia and AT&T present the 2010 Calling All Innovators-North America
>>> contest
>>> Create new apps & games for the Nokia N8 for consumers in  U.S. and
>>> Canada
>>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>>> marketing
>>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>>> http://p.sf.net/sfu/nokia-dev2dev
>>> _______________________________________________
>>> Geoserver-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>
------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to