Hello everybody,
thanks a lot for this great piece of software! It is great and I am happy it exists.
At the moment I am trying do develop some kind of SVG based WMS-Client for the iPhone using the built-in tilt sensor for semi-automatic zooming while panning.
I am evaluating the possibility of using OpenLayers for navigation. Everything runs fine so far.
My Question now is:
1) Can I make OpenLayers request SVG as the format? In the drop down menu ,there are just raster formats such as PNG, JPEG and GIF.
2) If i can figure out how tu turn it on, would it be possible to use tiling? If yes, which TilingCache is recommended, TileCache or GeoWebCache.
3) Is the toolbox in the OpenLayers Demo Page added by Geoserver or this something that is provided by OpenLayers? I haven't seen it on any other MapService that uses OpenLayers.
I know, that I could also post some og these question in the OpenLayers - users list, but I thought I should try here first.
Thanks a lot.
Ivo
---
Deutsche Telekom Laboratories (Berlin)
(doing my diploma project there)
Ivo Brodien ha scritto:
Hello everybody,
thanks a lot for this great piece of software! It is great and I am happy it exists.
At the moment I am trying do develop some kind of SVG based WMS-Client for the iPhone using the built-in tilt sensor for semi-automatic zooming while panning.
I am evaluating the possibility of using OpenLayers for navigation. Everything runs fine so far.
My Question now is:
1) Can I make OpenLayers request SVG as the format? In the drop down menu ,there are just raster formats such as PNG, JPEG and GIF.
Well, OL uses SVG in firefox to render vector data, but afaik it
cannot deal with SVG as a data source. You should ask on the OpenLayers
ml thought, I'm no expert in OL.
2) If i can figure out how tu turn it on, would it be possible to use tiling? If yes, which TilingCache is recommended, TileCache or GeoWebCache.
None of them can cache SVG as far as I know.
GeoWebCache can do some KML caching, in a pyramid, each feature
is stored in just one tile (so that the geometry is not sliced),
but that caching atm is geared towards Google Earth super overlays.
3) Is the toolbox in the OpenLayers Demo Page added by Geoserver or this something that is provided by OpenLayers? I haven't seen it on any other MapService that uses OpenLayers.
Nope, I added it to show off some of the GeoServer extra capabilities.
It's not really rocket science, I'm no javascript developer (server
side guy).
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
thanks for the quick answer.
On 30.10.2008, at 14:40, Andrea Aime wrote:
Ivo Brodien ha scritto:
Hello everybody,
thanks a lot for this great piece of software! It is great and I am happy it exists.
At the moment I am trying do develop some kind of SVG based WMS-Client for the iPhone using the built-in tilt sensor for semi-automatic zooming while panning.
I am evaluating the possibility of using OpenLayers for navigation. Everything runs fine so far.
My Question now is:
1) Can I make OpenLayers request SVG as the format? In the drop down menu ,there are just raster formats such as PNG, JPEG and GIF.
Well, OL uses SVG in firefox to render vector data, but afaik it
cannot deal with SVG as a data source. You should ask on the OpenLayers
ml thought, I'm no expert in OL.
ok, I will ask there.
2) If i can figure out how tu turn it on, would it be possible to use tiling? If yes, which TilingCache is recommended, TileCache or GeoWebCache.
None of them can cache SVG as far as I know.
GeoWebCache can do some KML caching, in a pyramid, each feature
is stored in just one tile (so that the geometry is not sliced),
but that caching atm is geared towards Google Earth super overlays.
I was afraid, that this would be the case. That is a pity since I think it is essential for the user experience that there is a cache for the SVG data.
3) Is the toolbox in the OpenLayers Demo Page added by Geoserver or this something that is provided by OpenLayers? I haven't seen it on any other MapService that uses OpenLayers.
Nope, I added it to show off some of the GeoServer extra capabilities.
It's not really rocket science,
I know, was just wondering.
Bye
Ivo
Ivo Brodien ha scritto:
thanks for the quick answer.
On 30.10.2008, at 14:40, Andrea Aime wrote:
Ivo Brodien ha scritto:
Hello everybody,
thanks a lot for this great piece of software! It is great and I am happy it exists.
At the moment I am trying do develop some kind of SVG based WMS- Client for the iPhone using the built-in tilt sensor for semi- automatic zooming while panning.
I am evaluating the possibility of using OpenLayers for navigation. Everything runs fine so far.
My Question now is:
1) Can I make OpenLayers request SVG as the format? In the drop down menu ,there are just raster formats such as PNG, JPEG and GIF.
Well, OL uses SVG in firefox to render vector data, but afaik it
cannot deal with SVG as a data source. You should ask on the OpenLayers
ml thought, I'm no expert in OL.
ok, I will ask there.
2) If i can figure out how tu turn it on, would it be possible to use tiling? If yes, which TilingCache is recommended, TileCache or GeoWebCache.
None of them can cache SVG as far as I know.
GeoWebCache can do some KML caching, in a pyramid, each feature
is stored in just one tile (so that the geometry is not sliced),
but that caching atm is geared towards Google Earth super overlays.
I was afraid, that this would be the case. That is a pity since I think it is essential for the user experience that there is a cache for the SVG data.
Well, I guess the sole caching in GWC would not be that difficult,
the real issue is avoiding the same feature to end up in two
separate tiles, and that requires some collaboration from the
SVG generator. That's something we do in KML superoverlay,
I guess it could be applied to SVG as well
(in the end we just build an appropriate filter for the current
tile), but I don't know how much time it would take. For sure it
would require some familarity with the SVG/GML generators code.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
OpenLayers can load vector data from KML, so GWC could be used for this as-is. I don't know how much KML styling or tiling is supported though.
http://openlayers.org/dev/examples/kml-layer.html is an example of a static KML layer (the entire KML dataset is loaded on startup) so hopefully that will help you get started.
Hope this helps.
-David Winslow
Andrea Aime wrote:
Ivo Brodien ha scritto:
thanks for the quick answer.
On 30.10.2008, at 14:40, Andrea Aime wrote:
Ivo Brodien ha scritto:
Hello everybody,
thanks a lot for this great piece of software! It is great and I am happy it exists.
At the moment I am trying do develop some kind of SVG based WMS- Client for the iPhone using the built-in tilt sensor for semi- automatic zooming while panning.
I am evaluating the possibility of using OpenLayers for navigation. Everything runs fine so far.
My Question now is:
1) Can I make OpenLayers request SVG as the format? In the drop down menu ,there are just raster formats such as PNG, JPEG and GIF.
Well, OL uses SVG in firefox to render vector data, but afaik it
cannot deal with SVG as a data source. You should ask on the OpenLayers
ml thought, I'm no expert in OL.
ok, I will ask there.
2) If i can figure out how tu turn it on, would it be possible to use tiling? If yes, which TilingCache is recommended, TileCache or GeoWebCache.
None of them can cache SVG as far as I know.
GeoWebCache can do some KML caching, in a pyramid, each feature
is stored in just one tile (so that the geometry is not sliced),
but that caching atm is geared towards Google Earth super overlays.
I was afraid, that this would be the case. That is a pity since I think it is essential for the user experience that there is a cache for the SVG data.
Well, I guess the sole caching in GWC would not be that difficult,
the real issue is avoiding the same feature to end up in two
separate tiles, and that requires some collaboration from the
SVG generator. That's something we do in KML superoverlay,
I guess it could be applied to SVG as well
(in the end we just build an appropriate filter for the current
tile), but I don't know how much time it would take. For sure it
would require some familarity with the SVG/GML generators code.
Cheers
Andrea