[Geoserver-users] Geoserver-users Digest, Vol 29, Issue 11

Hello to all ,

I use geoserver to post several areas of natural interest on Google maps and my site is in Greek and English language. ( I serve natura 2000 , important bird areas , wetlands, traditional settlements , etc)

Is there an option for the wms-gs-1_0_1.js library to take sld parameter into account ?

I would like to use the same shp files with different sld calls ( I ve already made one sld with Greek names and one for English names). That way i could have english and greek names labellling on english and greek versions of my site.

Please guide me , cause im not a programmer and i am getting some difficulties.

On Sat, Oct 4, 2008 at 11:53 PM, <geoserver-users-request@lists.sourceforge.net> wrote:

Send Geoserver-users mailing list submissions to
geoserver-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/geoserver-users
or, via email, send a message with subject or body ‘help’ to
geoserver-users-request@lists.sourceforge.net

You can reach the person managing the list at
geoserver-users-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than “Re: Contents of Geoserver-users digest…”

Today’s Topics:

  1. Re: Image Mosaic Plugin and red cross images? (2StepForward)
  2. Re: WAR installation problems on Tomcat (Arne Kepp)
  3. Re: How to handle transparency in geotiffs (SamuelToepke)
  4. Arc/Info binary grid format (Greg Ederer)
  5. Re: (Google Earth) Data distribution model?
    (Damian_Bradley@…1522…)
  6. Re: GML (Machiel de Swijger-Asakura)

Message: 1
Date: Mon, 29 Sep 2008 08:37:52 -0700 (PDT)
From: 2StepForward <kwegezeder@…157…>
Subject: Re: [Geoserver-users] Image Mosaic Plugin and red cross
images?
To: geoserver-users@lists.sourceforge.net
Message-ID: <19726239.post@…381…>
Content-Type: text/plain; charset=us-ascii

Hello Simone,

I would ask you, if there is any decision about the red cross image handling
from the ImageMosaic Plugin.
If I have to upgrade to a higher version of GeoServer, I will do so, but at
the moment I don’t know if it solve the problem.

Best regards,
Klaus

View this message in context: http://www.nabble.com/Image-Mosaic-Plugin-and-red-cross-images–tp19669878p19726239.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Message: 2
Date: Mon, 29 Sep 2008 11:44:47 -0400
From: Arne Kepp <ak@…1…>
Subject: Re: [Geoserver-users] WAR installation problems on Tomcat
To: Dan Lear <greasydan@…84…>
Cc: geoserver-users@lists.sourceforge.net
Message-ID: <48E0F7EF.4000402@…1…>
Content-Type: text/plain; charset=us-ascii; format=flowed

What version of Java and GeoServer are you running?

Sure it’s Sun’s java?

Dan Lear wrote:

Dear All, Just trying to install geoserver on Fedora Core 4 running Tomcat 5.
I have other application running fine under Tomcat but when I try to
deploy the war using the Tomcat Web Application Manager I get:

FAIL - Encountered exception java.io.IOException:
java.net.MalformedURLException: Absolute URL required with null
context

Can anyone help?

Many thanks,
Dan


This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Arne Kepp
OpenGeo - http://opengeo.org
Expert advice straight from the developers


Message: 3
Date: Tue, 30 Sep 2008 11:11:42 -0700 (PDT)
From: SamuelToepke <SToepke@…1367…>
Subject: Re: [Geoserver-users] How to handle transparency in geotiffs
To: geoserver-users@lists.sourceforge.net
Message-ID: <19747508.post@…381…>
Content-Type: text/plain; charset=us-ascii

Hello,

Recommend looking at the Raster Symbolizer that is implemented in GeoServer
1.7.0 RC2.
http://geoserver.org/display/GEOS/GeoServer+1.7.0-RC2
http://docs.codehaus.org/display/GEOTOOLS/Raster+Symbolizer+support

I’ve attached a a .zip file that has an .sld and an image. The GeoTIFF that
has a swath of black data at the bottom. The attached .sld will make that
area transparent when viewed in OpenLayers.

Good Luck,
-Sam

ktcorby wrote:

I should add that my data is originally being stored in a NetCDF file. I
am only converting to a GeoTiff because I don’t know how to display the
NetCDF data directly. I think that my be possible though, so if you have
advice to that end it would also be welcome. If it’s relevant, I am trying
to display the end result with OpenLayers, and I am using PostGIS for some
of the feature layers so it would be possible to also use a PostGrid /
NetCDF approach if that makes sense.

http://www.nabble.com/file/p19747508/RSExample.zip RSExample.zip

View this message in context: http://www.nabble.com/How-to-handle-transparency-in-geotiffs-tp19731223p19747508.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Message: 4
Date: Tue, 30 Sep 2008 12:45:16 -0700
From: Greg Ederer <greg@…1694…>
Subject: [Geoserver-users] Arc/Info binary grid format
To: Geoserver-users@lists.sourceforge.net
Message-ID: <48E281CC.9030302@…1694…>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

We have a large amount of data in Arc/Info binary grid format. I an
ESRI newbie. But, I understand that there are two Arc/Info grid
formats: ASCII and binary. It looks to me like GeoServer only serves
the ASCII format out of the box. Is this correct? If so, is there a
GeoServer plugin that enables serving of these binary grids?

If not, my employer might be willing to pay me to work on this.

Cheers,

Greg


| E R G O N O S I S
| Greg Ederer
| Lead Developer
| greg@…1694…
| 360.774.6848
|


Message: 5
Date: Wed, 1 Oct 2008 15:45:04 -0500
From: Damian_Bradley@…1522…
Subject: Re: [Geoserver-users] (Google Earth) Data distribution model?
To: groldan@…1671…
Cc: geoserver-users@lists.sourceforge.net
Message-ID:
<OF3428B723.5F295D91-ON052574D5.0071E6E8-052574D5.00721D1F@…1523…>
Content-Type: text/plain; charset=“iso-8859-1”

Hi Gabriel,

It seems, after some research, that the obvious answer is to take
advantage of the Google Earth Plugin API and either reference a
server-side KML file or code network links which can be controlled via a
webpage/javascript implementation. It would take some work but I think
would be easier than trying to interface with a standard GE client…

Cheers,
Damian

Gabriel Roldan <groldan@…1671…>
09/30/2008 09:34 AM

To
Damian_Bradley@…1522…
cc
geoserver-users@lists.sourceforge.net
Subject
Re: [Geoserver-users] (Google Earth) Data distribution model?

Hi Damian,
not sure how dynamically you need the layer list to be.
If not too dynamic I would say you can just configure a base map in
geoserver holding the desired layers, and when you need to add/remove
layers from the geoserver configuration and just give the clients a link
to the base map, like in
http://localhost:8080/geoserver/wms/kml_reflect?layers=spearfish

if that’s not an option just tell and we’ll see what else could be
done… I can’t think of a push model easily though…

Gabriel
Damian_Bradley@…1522… escribi?:

Hello fellow geoservers,

I am gearing up for deployment of Geoserver in my organization. We
are using it mostly to serve Google Earth clients to non-GIS users,
and I am curious how others have organized their data distribution
models in such a case. I also have an interesting idea for coding a
model into geoserver.

With access to the back-end I can obviously update any layers that are
already network-linked in client’s GE, but what are the options for
adding new content/network links to my user’s clients? Since there is
no way to have a true “push” model, how do you implement a pull
strategy?

Ideas:

  1. Email List: Either paste geoserver URL’s to generate KML or send
    out a pre-generated KML file via email
    Advantages: Full control over KML content.
    Disadvantages: No central repository of available layers

  2. Simple, static and secure web page with a list of URL’s to call
    specific layers. Users are then instructed to save the layer in the
    “my places” pane in GE.
    Advantages: If they ever lose the layer from GE they can always go
    back to the web page to call up layers.
    Disadvantages: Layers are loaded one-by-one. Updates would require
    an email sent to users to download the newest layer.

  3. Advanced, dynamic web page: keep the URL calls in a database
    table (like mapPreview.do), and construct a “pre-launch” web page
    where the user can select the layers they want to include in a KML
    which is generated from the DB.
    Advantages: As above, but multiple layers can be called at once
    Disadvantages: Some work coding the web page and DB. A little
    confusing to have a pre-launch selection of layers in addition to the
    GE layers pane. Basic users, remember.

  4. Entertain my thoughts here for a minute. What about coding a
    feature into Geoserver for a really basic “push-pull” model? I don’t
    know if this is possible…but use an “index” file/table on the
    server side to generate multi-layer (multi-feature) KML files based on
    layers selected by the geoserver admin. The file/table would itself
    be constant so reference to it wouldn’t change, but its contents (rows
    in a table or a list of ID’s) would be specify which layers to include
    in the KML generation. Then it’s simply a matter of adding a KML
    header, concatenating the code for each layer specified in the
    request. and then adding the footer. There is already code to
    generate a single-layer KML, surely this would be possible.

Maybe implement it as a “Namespace SuperLayer” or something, loading
all of the layers in a given namespace in a single KML? Similar to
the actions of “mapPreview.do” in geoserver admin, just query all of
the available layers from a single namespace, execute the KML code
generation for each layer, concatenate and serve the resulting KML.
This single-click solution could be integrated and launched from a
web page or a desktop icon and would load all of the layers currently
made available by the admin.

Thoughts?

Damian Bradley


This SF.Net email is sponsored by the Moblin Your Move Developer’s
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

-------------- next part --------------
An HTML attachment was scrubbed…


Message: 6
Date: Sat, 4 Oct 2008 22:51:13 +0200
From: “Machiel de Swijger-Asakura” <mystyxmac@…84…>
Subject: Re: [Geoserver-users] GML
To: geoserver-users@lists.sourceforge.net
Message-ID:
<b53bb140810041351q2f9b9600l762e3df61bb34767@…85…>
Content-Type: text/plain; charset=“utf-8”

Thanks for your reply.

2008/10/4 Justin Deoliveira <jdeolive@…1671…>

Hi Machiel,

There is a gml datastore available as an extension but its not well
maintained and experimental. So unfortnately its a use at own risk sort of
thing.

That said, it only supports simple features, so no complex stuff. And works
against gml2.

A possible way to get an example would be to do a GetFeature against
GeoServer and save the result to a gml file.

-Justin

Machiel de Swijger-Asakura wrote:

Hi,

I have to use GML in a new project at work.
I’m using Geoserver 1.5.4 (we planning to update, but not on time for this
project).
So I have feww questions.

  1. What version of GML (as a datastore) is supported by Geoserver 1.5.4?
  2. How complex can a GML file be?
  3. I tried searching, but couldn’t find a nice example of a GML file (one
    that is supported by Geoserver 1.5.4). Does someone help me with this?

Thanks in advance.
Machiel



This SF.Net email is sponsored by the Moblin Your Move Developer’s
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

-------------- next part --------------
An HTML attachment was scrubbed…



This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

End of Geoserver-users Digest, Vol 29, Issue 11


Γεώργιος Τσολάκης - Περιβαλλοντολόγος
Γραφείο Περιβαλλοντικών Μελετών
Ζήνωνος 57. Περιστέρι. Αθήνα
tel: +30 210 5727615
fax: +30 210 5727995
mobile: + 30 6977 158693
email: gtsolakis@…84…
URL : www.mpe.gr

George Tsolakis ha scritto:

Hello to all ,

I use geoserver to post several areas of natural interest on Google maps and my site is in Greek and English language. ( I serve natura 2000 , important bird areas , wetlands, traditional settlements , etc)

Is there an option for the wms-gs-1_0_1.js library to take sld parameter into account ?

I would like to use the same shp files with different sld calls ( I ve already made one sld with Greek names and one for English names). That way i could have english and greek names labellling on english and greek versions of my site.

Please guide me , cause im not a programmer and i am getting some difficulties.

The wms-gs-1_0_1.js javascript approach has been completely abandoned,
no one is developing it further as far as I know. The current suggested
approach to integrate google maps and geoserver output is to use an
API such as OpenLayers. The latest versions of GeoServer do provide an
example of how such integration can be used.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

George Tsolakis ha scritto:

Andrea

thanks very much for your reply. Maybe i have to try openlayers.

But the question remains. Can i have several sld calls for drawing the same map but with differnt labels each time? Or i have to create the same shp file several times?

You can, if you don't need an open ended set of labels, the
easies way is to create multiple sld styles in GeoServer, and then
explicitly set which style you want in the GetMap request. You
change the style name, and a different label will be shown

Hope this helps
Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

George Tsolakis ha scritto:

Ok Andrea , i am sorry for my delay

i will try to reestablish my site maps on open layers. But where to start from?
Is any good tutorial out there about combining Openlayers - Geoserver - Google maps ??

Hum, the latest version of GeoServer ships with an example that
you can already use. The example shows the topp:states map overlayed
with either Google Maps and Microsoft Virtual Earth (and maybe
Yahoo as well, not sure). Anyways, Microsoft changed their mapping
api recently and as a result the example breaks, but all you have to
do to fix it is to comment out the virtual earth layer (the file
is in the data dir, www subfolder).

Besides that, OL has a rich set of examples that you can get
ideas from and some API documentation as well (http://www.openlayers.org/)

Hope this helps
Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hello Andrea,

Thank you for pointing me out openlayers. I think there is some much more that i can do with openlayers !. As far as know I ve tried to experiment with my data on it, and i made this http://mpe.gr/gmaps/olayers.html .

The big problem is that my wms get on totally wrong place. Check TOPP states layer it can be seen on Alaska…

On Fri, Oct 10, 2008 at 5:49 PM, Andrea Aime <aaime@anonymised.com71…> wrote:

George Tsolakis ha scritto:

Andrea
thanks very much for your reply. Maybe i have to try openlayers.
But the question remains. Can i have several sld calls for drawing the same map but with differnt labels each time? Or i have to create the same shp file several times?

You can, if you don’t need an open ended set of labels, the
easies way is to create multiple sld styles in GeoServer, and then
explicitly set which style you want in the GetMap request. You
change the style name, and a different label will be shown

Hope this helps

Cheers
Andrea


Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Γεώργιος Τσολάκης - Περιβαλλοντολόγος
Γραφείο Περιβαλλοντικών Μελετών
Ζήνωνος 57. Περιστέρι. Αθήνα
tel: +30 210 5727615
fax: +30 210 5727995
mobile: + 30 6977 158693
email: gtsolakis@anonymised.com
URL : www.mpe.gr

Hi George,

I think the problem is projection related. I guess the 'sphericalMercator: true' option should be used in Google maps. Take a look at the example:

http://www.openlayers.org/dev/examples/spherical-mercator.html

There also exist some 'reproject:true' method like in http://www.openlayers.org/dev/examples/google-reproject.html , but I don't think it's as accurate as the spherical-mercator. Wiser men will help you more.

- mika -

George Tsolakis kirjoitti:

Hello Andrea,

Thank you for pointing me out openlayers. I think there is some much more that i can do with openlayers !. As far as know I ve tried to experiment with my data on it, and i made this http://mpe.gr/gmaps/olayers.html . <http://mpe.gr/gmaps/olayers.html&gt;

The big problem is that my wms get on totally wrong place. Check TOPP states layer it can be seen on Alaska...

On Fri, Oct 10, 2008 at 5:49 PM, Andrea Aime <aaime@anonymised.com <mailto:aaime@anonymised.com>> wrote:

    George Tsolakis ha scritto:

        Andrea
        thanks very much for your reply. Maybe i have to try openlayers.
        But the question remains. Can i have several sld calls for
        drawing the same map but with differnt labels each time? Or i
        have to create the same shp file several times?

    You can, if you don't need an open ended set of labels, the
    easies way is to create multiple sld styles in GeoServer, and then
    explicitly set which style you want in the GetMap request. You
    change the style name, and a different label will be shown

    Hope this helps

    Cheers
    Andrea

    -- Andrea Aime
    OpenGeo - http://opengeo.org
    Expert service straight from the developers.

--
------------------------------------------------------
Γεώργιος Τσολάκης - Περιβαλλοντολόγος
Γραφείο Περιβαλλοντικών Μελετών
Ζήνωνος 57. Περιστέρι. Αθήνα
tel: +30 210 5727615 fax: +30 210 5727995
mobile: + 30 6977 158693
email: gtsolakis@anonymised.com <mailto:gtsolakis@anonymised.com>
URL : www.mpe.gr <http://www.mpe.gr>
------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
  

George Tsolakis ha scritto:

Hello Andrea,

Thank you for pointing me out openlayers. I think there is some much more that i can do with openlayers !. As far as know I ve tried to experiment with my data on it, and i made this http://mpe.gr/gmaps/olayers.html . <http://mpe.gr/gmaps/olayers.html&gt;

The big problem is that my wms get on totally wrong place. Check TOPP states layer it can be seen on Alaska...

Yeah, I noticed, and I have no idea why... I mean, our built it demo
(in the GeoServer downloads) works? Maybe it's just a setup issue...
I see for example you miss the map options setup block that we use
in our demo (in which the states layer displays fine):

var options = {
     // the "community" epsg code for spherical mercator
     projection: "EPSG:900913",
     // map horizontal units are meters
     units: "m",
     // this resolution displays the globe in one 256x256 pixel tile
     maxResolution: 156543.0339,
     // these are the bounds of the globe in sperical mercator
     maxExtent: new OpenLayers.Bounds(-20037508, -20037508,
                                      20037508, 20037508)
};

map = new OpenLayers.Map('map', options);

Anyways, not sure. You should ask about that on the openlayers users mailing list, but maybe some OL wiz is here listening and may provide a
hint as well.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.