[Geoserver-devel] I am new in GEOSERVER

hemant moharir wrote:

Hi,
I inserted shape files in POSTGRESQL database.Now i want to display these inserted shape files in GEOSERVER.How i do?
Please It's urgent.

You have to do a WMS request. I suggest you go to start by going to the
map preview page, http:///localhost:8080/geoserver/mapPreview.do and
click on the layer.

Or just make a wms request in the browser:

http://localhost:8080/geoserver/wms?request=getmap&service=wms&version=1.1.1&format=image/png&height=500&width=500&srs=epsgd:4326&bbox=-180,-90,180,90&layers=<yourLayer>&styles=

Where <yourLayer> is the name of the layer you imported.

-Justin

ps. Please try to avoid replying directly to the person who answered
your original email. WE try to keep all discussion on the list, it will
also ensure that your question is answered as fast as possible.

Hemant S. Moharir
Hum Hum Hai Baki Sab Pani Kam Hai

----- Original Message ----
From: Justin Deoliveira <jdeolive@anonymised.com>
To: hemant moharir <courtly516@anonymised.com>
Cc: geoserver-devel@lists.sourceforge.net
Sent: Wednesday, November 21, 2007 6:55:41 PM
Subject: Re: [Geoserver-devel] I am new in GEOSERVER

Hi Hemant,

Welcome to GeoServer. So just so I understand your use case you have
some shapefiles that you would like to load into your postgis database?
This is easy, postgis comes with a command line tool called shp2pgsql
wihch does just that. Run the command with no arguments for its
synopsis
and a list of the options. But usually its just something like this
that
you want:

shp2pgsql <shapefile> <table> | psql <database>

Hope that helps.

-Justin

hemant moharir wrote:

Hi,
I am Hemant Moharir from Pune.I am new in GEOSERVER.I have installed

and configure geoserver.I have created one DATASOURCE using POSTGIS.But
now i want to know how shapefiles dispaly from postgresql database.

Please tell me.It's Urgent.

Hemant S. Moharir
Hum Hum Hai Baki Sab Pani Kam Hai

____________________________________________________________________________________

Be a better pen pal.
Text or chat with friends inside Yahoo! Mail. See how.

  http://overview.mail.yahoo.com/

-------------------------------------------------------------------------

This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org