I am building a web map application using:

  • GeoServer
  • OpenLayers
  • Tomcat

I would like to build a web application, where the user can log in and have the map arranged according to their profile. As I am already using tomcat, I would like to stick with java.

However, I have found that python is more suitable to web programming, so is jython an alternative?

This thread provided some light, but is not complete.

Are there any examples? I have thought of using JSF and implementing wms service from geoserver. Any ideas and suggestions to get started. I am ready to learn new technologies.


  1. User Should be able to log in to an application.
  2. User Should be able to only view maps that their role/user permits.
  3. The application should only make use of the technology listed above, if possible.
  • 1
    I found that python is more suitable to web programming - I am quite surprised at this line; why do you think this? – Hairy Jan 25 '12 at 8:29
  • 1
    My 2c: use the language(s) you know and avoid adding software to your stack unless it's necessary and/or comes with great advantages. – unicoletti Jan 25 '12 at 8:53
  • @unicoletti I am getting started and using simple js only but it's very error prone and debugging is hard – kinkajou Jan 25 '12 at 9:03
  • 1
    I think we'll need a list of features/use cases you want to implement to really suggest a good solution. – underdark Jan 25 '12 at 9:07
  • @underdark I have edited the question – kinkajou Jan 25 '12 at 9:12

Even though I've never used it, I think GeoNode already does most of what you are asking for.

| improve this answer | |

Maybe GeoScript could be the answer to what you want to do (though what you want to do is unclear from the question).

| improve this answer | |
  • I have edited the question – kinkajou Jan 25 '12 at 9:09

However, I have found that python is more suitable to web programming, so is jython an alternative?

That is rather debatable. I suggest you refrain from stating such claims unless you have strong proof. Otherwise it's just an invitation to a flame war.

That said, the language you use will largely be dictated by what you know ( as unicolleti) or by the stack you will use. For example, if you will be using Geoserver then you'll most probably be stuck with Java, at least for server side programming. Though you can code using Python with Jython if you prefer Python's syntax. For this, you can try using GeoScript. It's an attempt to wrap GeoTools in Python. For the client side though, there's no avoiding javascript as most, if not all, web mapping client libraries use it.

For what you want to do though, I agree with unicolleti. GeoNode should cover what you want. It has already has user management and user access control. You can control permissions at both the Layer and Map level.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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