Intranet GIS using JEE platform, Vaadin and OpenStreetMap

I welcome!

The question is - if possible, on the basis of OSM write offline GIS on JEE platform with Vaadin framework? Visualize some of the objects over the map, whose coordinates are specified in the database.

What tools are needed for this and where to start?

I would be grateful for the information! :smiley:

Does anyone ever use
OpenStreetMap
in their projects? :smiley: Particularly interested in how the intranet to support maps up to date form?

As for tools - is the idea of ​​using
MapServer
and
JOSM
.
As far as here applicable
Vaadin
?

Subject to my relatively new, so the relevant information of great value. :smiley:

Hi,

I didn’t exactly get a solid view of what you are trying to accomplish, but if you are planning a GIS software on a Vaadin stack you will want use this add-on:
http://vaadin.com/directory#addon/openlayers-wrapper

cheers,
matti

I welcome you, Matti Tahvonen!

Excellent! That’s it! :smiley:

Thank you very much!:smiley:

Matti Tahvonen,

there are, whether the source code of demos presented on the page add-on? Such as
Vol example Application
and
vgis
?
I would be very grateful for the help! :smiley:

Hi,

Some examples:

http://code.google.com/p/vopenlayers/source/browse/#svn%2Fexampleapp

http://matti.virtuallypreinstalled.com/vgis

And then in the actual add-on project has lots of examples/tests.

cheers,
matti

Matti Tahvonen, many thanks for the link!:smiley:

I have a few questions will be in the application of this add-on - perhaps, if it is based on GIS to write, which will operate on an intranet? Need-a MapServer or GeoServer that will draw a map from the database?

As far as I know, the OSM download in tabular form and used MapServer to render images. Can do add-on to provide
offline GIS
? In the company’s
intranet
?

Does anyone know? :smiley:

Hi,

I think it is possible to download the openstreetmap data and import it to geoserver. Then you can use it as e.g. WMS layer. Haven’t done this but I’d guess it is possible.

cheers,
matti

Thank you very much, Matti Tahvonen!

Tell me please, if possible, with this add-on wrote a similar system, as in the
video
?

… or did I use JavaScript, Open Layers library?
What would you recommend?

I would be very grateful for the help!:smiley:

Does anyone know?:smiley:

I know, everything is possible :slight_smile:

You might want to check out some apps built with OpenLayers Wrapper:

http://www.youtube.com/watch?v=Twmfwu1keyk

http://matti.virtuallypreinstalled.com/vgis

cheers,
matti

Thank you very much, Matti Tahvonen!
Whew! This is really impressive! :smiley: And I’m going to do GIS with the involvement of APIs, provided by the OpenLayers Wrapper! :smiley:

Matti Tahvonen,

You do not know - maybe i convert *.kmz to *.klm and if possible, how?
I would be very grateful for the information! :smiley:

… kml, sorry :smiley:

See e.g.
this wikipedia page
.
KMZ is a zipped form of KML that can also contain some additional data (image overlays etc.).

I welcome you, Henri Sara!

Thank you! The question arose in connection with the fact that the
sample
does not allow this format.
Now another question - i installed and configured GeoServer, create map and i can see her in Layer Preview → OpenLayers:
That’s what I get -

uri -

http://localhost:8082/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=Stans&styles=&bbox=19.888,41.791,142.949,69.422&width=1469&height=330&srs=EPSG:4326&format=application/openlayers

So, I can see in the browser as follows -
11978.png

How to use this in Vaadin?
I’m trying to write this -


...
final OpenLayersMap map = new OpenLayersMap();
map.setImmediate(true);        
		
WebMapServiceLayer wms = new WebMapServiceLayer();

wms.setUri("http://localhost:8082/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=Stans&styles=&bbox=19.888,41.791,142.949,69.422&"+
"width=1469&height=330&srs=EPSG:4326&format=application/"+
   "openlayers");
  wms.setLayers("basic");
  wms.setServiceType("wms");
  wms.setDisplayName("OpenLayers WMS");        
  wms.setBaseLayer(true);

map.addLayer(wms);
window.setContent(map);
...

But getting -
11979.png