[Geoserver-devel] question regarding Development with geoserver

Hi,

Just have some questions regarding geoserver as I've
just downloaded it and am a complete novice with it.

1. I presume geoserver sits between data and the
browser and controls data passed in WM format or WF
format?

2. Construction of a front-end. What is the best way
of doing this? Can I use existing skills such as
HTML/Javascript or will I have to develop frontends in
Java/JSP??

3. How do I control the backend? I am likely to have
loads of shapefiles in specific folders (no database
to start of with). Will geoserver enable me to handle
this?

4. What about security and user settings. A user will
login and see specific user data upon validation. How
will this be handled? Will I need to control it
outside geoserver or can I set up geoserver to control
data depending on the user?

I've gone through the help manuals, I can get
geoserver up and running. But developing the front and
back-end is a mystery at the moment.

Regards
Ben

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Ben Crane wrote:

Hi,

Just have some questions regarding geoserver as I've
just downloaded it and am a complete novice with it.

1. I presume geoserver sits between data and the
browser and controls data passed in WM format or WF
format?
  

WM = Web Map Server - aka it will make you images in SVG, GIF, PNG, KML etc....
WFS = Web Feature Server - aka it will give you the data in Geographic Markup Language (and ... Object Stream if I can get Pojos working)

2. Construction of a front-end. What is the best way
of doing this? Can I use existing skills such as
HTML/Javascript or will I have to develop frontends in
Java/JSP??
  

Because WMS is a standard you don't actually have to do any work - just download MapBuilder (Javascript) or KanMap (PHP maybe?)
There is lots of choice but those are the two best...

3. How do I control the backend? I am likely to have
loads of shapefiles in specific folders (no database
to start of with). Will geoserver enable me to handle
this?
  

Yes, you can configure this by hand with XML in a data directory, or use the web front end.

4. What about security and user settings. A user will
login and see specific user data upon validation. How
will this be handled? Will I need to control it
outside geoserver or can I set up geoserver to control
data depending on the user?
  

Right now you will need your webserver, and to see different data sets you will
need separate installs of geoserver (different ports or different paths). If you want
a real solution here please see DACs, and you can look at the a client that supports
this such as uDig (Cameron CCed on this email can check if MapBuilder can use DACS).

I've gone through the help manuals, I can get
geoserver up and running. But developing the front and
back-end is a mystery at the moment.
  

Once it is up and running do you see the MapBuilder demo? You can login to access
the config section and set it up with your additional help files.

Regards
Ben

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
  

Right now you will need your webserver, and to see
different data sets
you will
need separate installs of geoserver (different ports
or different
paths). If you want
a real solution here please see DACs, and you can
look at the a client
that supports
this such as uDig (Cameron CCed on this email can
check if MapBuilder
can use DACS).

Oh...so in theory, the best way to control this would
be to write all the data to a spatial database and
server as appropriate based on successful user login?

Ben

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Hi Ben,

1. Yep, it grabs the data from datasources (shapefiles, Oracle, Postgis...) and sends the data to the client that requested it. It uses OGC protocols to do this, so the clients can expect exactly what they will get when they make a request. The main calls are WMS (Web Mapping Service: images, like you see in mapquest or google maps), and WFS (Web Feature Service: real vectors in GML).

2. To do the front end you can use HTML/Javascript. I have successfully done that and it works quite well. You can also use clients out there that have already been made. A good web based client is MapBuilder, it allows you to pan, zoom, select features, and do much much more. I highly recommend it. There are also client apps for your machine: uDig, GVSig, QGis.

3. You can load as many shapefiles into Geoserver as you wish. It is recommended that you put them into a database (PostGis for a great example) so you have concurrency and transactions. By back-end I assume you are talking about the data and where it lives. GeoServer supports many data sources, so it is quite flexible and you just need to decide where you want your data to live.

4. There is no built in security yet, but that is in the plans. Right now you can make multiple instances of geoserver with different datasets loaded into it, then intercept the queries and route to a different instance (hacky, really hacky). Or you can intercept the requests with a separate app and filter out the data that the user isn't supposed to see (a little more sane, but still in need of a real system).

Hope that answers some questions,

Brent Owens
(The Open Planning Project)

Ben Crane wrote:

Hi,

Just have some questions regarding geoserver as I've
just downloaded it and am a complete novice with it.

1. I presume geoserver sits between data and the
browser and controls data passed in WM format or WF
format?

2. Construction of a front-end. What is the best way
of doing this? Can I use existing skills such as
HTML/Javascript or will I have to develop frontends in
Java/JSP??

3. How do I control the backend? I am likely to have
loads of shapefiles in specific folders (no database
to start of with). Will geoserver enable me to handle
this?

4. What about security and user settings. A user will
login and see specific user data upon validation. How
will this be handled? Will I need to control it
outside geoserver or can I set up geoserver to control
data depending on the user?

I've gone through the help manuals, I can get
geoserver up and running. But developing the front and
back-end is a mystery at the moment.

Regards
Ben

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

I'm not familiar with DACs, so I assume Mapbuilder doesn't support it. What is DACs?

Jody Garnett wrote:

4. What about security and user settings. A user will
login and see specific user data upon validation. How
will this be handled? Will I need to control it
outside geoserver or can I set up geoserver to control
data depending on the user?
  
Right now you will need your webserver, and to see different data sets you will
need separate installs of geoserver (different ports or different paths). If you want
a real solution here please see DACs, and you can look at the a client that supports
this such as uDig (Cameron CCed on this email can check if MapBuilder can use DACS).

--
Cameron Shorter
http://cameron.shorter.net

Cameron Shorter wrote:

I'm not familiar with DACs, so I assume Mapbuilder doesn't support it. What is DACs?

Distributed Access Control System - it is not specific to GIS tech, but it works very well with it.
We used it in OWS-3 for example.

Richard Gould knows a lot more if you are interested,
Jody

Jody Garnett wrote:

4. What about security and user settings. A user will
login and see specific user data upon validation. How
will this be handled? Will I need to control it
outside geoserver or can I set up geoserver to control
data depending on the user?
  
Right now you will need your webserver, and to see different data sets you will
need separate installs of geoserver (different ports or different paths). If you want
a real solution here please see DACs, and you can look at the a client that supports
this such as uDig (Cameron CCed on this email can check if MapBuilder can use DACS).