Dear Geoserverers ,
I am using geoserver 1.5 . There are many layers in my system. Some of them
will be only published in WMS, some will be published in both.
There is only Option for enable/disable WFS in WFS page. It's not good in my
case.
So I think, Geoserver should has a Option for publishing/not publishing WFS
in Feature Type page.
How do you think about that ?
Bui Hong Son
Deputy Chief of SCIREN
http://ciren.vn
http://www2.hcm.ciren.gov.vn/cirengis
-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of
geoserver-users-request@lists.sourceforge.net
Sent: Tuesday, September 11, 2007 3:30 PM
To: geoserver-users@lists.sourceforge.net
Subject: Geoserver-users Digest, Vol 16, Issue 16
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: Possible bug with bounding box filters with certain SLD
(Andrea Aime)
2. Know of a UI tool that lets you select a country from a world
graphic? (Tim Robertson)
3. Re: Possible bug with bounding box filters with certain SLD
(Tim Robertson)
4. Re: Know of a UI tool that lets you select a country from a
world graphic? (Per-Olof Nor?n)
5. Getmap with Http Post do not go (Pouldu)
6. Re: Know of a UI tool that lets you select a country from a
world graphic? (Tim Robertson)
----------------------------------------------------------------------
Message: 1
Date: Tue, 11 Sep 2007 09:51:54 +0200
From: Andrea Aime <aaime@anonymised.com>
Subject: Re: [Geoserver-users] Possible bug with bounding box filters
with certain SLD
To: Tim Robertson <trobertson@anonymised.com>
Cc: 'geoserver users' <geoserver-users@lists.sourceforge.net>
Message-ID: <46E6491A.4020208@anonymised.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Tim Robertson ha scritto:
The URL I pass in is:
http://localhost:8080/geoserver/wms?bbox=-180,-90,180,90&....etc
<http://localhost:8080/geoserver/wms?bbox=-180,-90,180,90&....etc>\.\.\.\.
And with polygon only rules in my SLD my data store receives the filter:[[geom bbox POLYGON ((-180 -90, -180 90, 180 90, 180 -90, -180 -90)) ]?etc
However, when I have rules that are both point and polygon, my DS
receives the following filter[[geom bbox POLYGON ((-183.92727272727274 -94.32, -183.92727272727274
94.32, 183.92727272727274 94.32, 183.92727272727274 -94.32,
-183.92727272727274 -94.32)) ]? etc
Anyone any ideas?
Yep, you're seeing the effect of the automated meta buffer computation.
You have markers in your SLD, meaning that a point just a little out
of the rendering area can nevertheless give contribution inside the
area when rendered (the point lays outside, but part of the marker
pops inside the rendering area).
The renderer examines the SLD and expands the rendering bbox by a
factor that allows to catch all external geometries that may contribute
to the rendered map because of a marker or a thick stroke.
In your case the expansion does not make much sense since we're going
over the lat/lon bounds, but I'm not sure how could I handle that (I
would need the axis bounds, if there is such a thing in the CRS being
used during the query). Besides, nothing prevents you to ask for
a bbox that's, say, "-200, -100, 200, 100", many clients do that if
you zoom out in fact.
Hope this helps.
Cheers
Andrea
------------------------------
Message: 2
Date: Tue, 11 Sep 2007 09:58:32 +0200
From: "Tim Robertson" <trobertson@anonymised.com>
Subject: [Geoserver-users] Know of a UI tool that lets you select a
country from a world graphic?
To: "'geoserver users'" <geoserver-users@lists.sourceforge.net>
Message-ID: <007b01c7f449$8c7ada80$161c26c0@anonymised.com>
Content-Type: text/plain; charset="us-ascii"
Hi,
Slightly off topic but I am sure we are all using UI tools with our
geoserver..
Does anyone know of any web based tool that lets you select a country from a
map?
What I would like is for the user to be presented with a graphic from a
world countries shape file - as you roll over a country, it is highlighted,
on-click it is selected.
I can implement this and would just do some custom JS and SLD, and most
likely pass in the lat/lon for the cursor in a filter - with a custom
datastore to determine the country under the cursor and return the
appropriate polygon.
I just wondered if anyone has already done it. If so, would you like to
donate it to an open source biodiversity sharing project?
Many thanks,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Tue, 11 Sep 2007 10:03:53 +0200
From: "Tim Robertson" <trobertson@anonymised.com>
Subject: Re: [Geoserver-users] Possible bug with bounding box filters
with certain SLD
To: "'Andrea Aime'" <aaime@anonymised.com>
Cc: 'geoserver users' <geoserver-users@lists.sourceforge.net>
Message-ID: <008001c7f44a$4bd1daf0$161c26c0@anonymised.com>
Content-Type: text/plain; charset="us-ascii"
Thanks Andrea,
That makes perfect sense and I do this in my datastore also - not for SLD
reasons but because the datastore works at different resolutions, so we have
1x1 degree cells at the lowest resolution.
When my database returns from adding an index (been running for 24hours
already :o( ) I'll get this on http://geoserver.gbif.org as a server for the
data of 107million specimens and observations of biodiversity. Anyone
feedback from the list users would be greatly appreciated.
Best wishes
Tim
-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Tuesday, September 11, 2007 9:52 AM
To: Tim Robertson
Cc: 'geoserver users'
Subject: Re: [Geoserver-users] Possible bug with bounding box filters with
certain SLD
Tim Robertson ha scritto:
The URL I pass in is:
http://localhost:8080/geoserver/wms?bbox=-180,-90,180,90&....etc
<http://localhost:8080/geoserver/wms?bbox=-180,-90,180,90&....etc>\.\.\.\.
And with polygon only rules in my SLD my data store receives the filter:[[geom bbox POLYGON ((-180 -90, -180 90, 180 90, 180 -90, -180 -90)) ].etc
However, when I have rules that are both point and polygon, my DS
receives the following filter[[geom bbox POLYGON ((-183.92727272727274 -94.32, -183.92727272727274
94.32, 183.92727272727274 94.32, 183.92727272727274 -94.32,
-183.92727272727274 -94.32)) ]. etc
Anyone any ideas?
Yep, you're seeing the effect of the automated meta buffer computation.
You have markers in your SLD, meaning that a point just a little out
of the rendering area can nevertheless give contribution inside the
area when rendered (the point lays outside, but part of the marker
pops inside the rendering area).
The renderer examines the SLD and expands the rendering bbox by a
factor that allows to catch all external geometries that may contribute
to the rendered map because of a marker or a thick stroke.
In your case the expansion does not make much sense since we're going
over the lat/lon bounds, but I'm not sure how could I handle that (I
would need the axis bounds, if there is such a thing in the CRS being
used during the query). Besides, nothing prevents you to ask for
a bbox that's, say, "-200, -100, 200, 100", many clients do that if
you zoom out in fact.
Hope this helps.
Cheers
Andrea
------------------------------
Message: 4
Date: Tue, 11 Sep 2007 10:21:02 +0200
From: Per-Olof Nor?n <pelle@anonymised.com>
Subject: Re: [Geoserver-users] Know of a UI tool that lets you select
a country from a world graphic?
To: Tim Robertson <trobertson@anonymised.com>
Cc: 'geoserver users' <geoserver-users@lists.sourceforge.net>
Message-ID: <46E64FEE.1090600@anonymised.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Hi
One aproach is to use the openlayers vector layer. This however would
require the world layer to be heavily generealized in order to be really
usable performance-wise. Using the vector layer, you could easily
highlight and so forth.
Another apropach is to use your WMS GetFeatureInfo functionality, as the
do it at open layers camp:
http://openlayers.org/dev/examples/getfeatureinfo.html
There is no hoover effect though.
If I'm correct, the newer (1.6? ) versions of geoserver allows you to
style the response of GetFeatureInfo according to taste.
Regards,
Per-Olof
Tim Robertson skrev:
Hi,
Slightly off topic but I am sure we are all using UI tools with our
geoserver?.Does anyone know of any web based tool that lets you select a country
from a map?What I would like is for the user to be presented with a graphic from
a world countries shape file ? as you roll over a country, it is
highlighted, on-click it is selected.I can implement this and would just do some custom JS and SLD, and
most likely pass in the lat/lon for the cursor in a filter - with a
custom datastore to determine the country under the cursor and return
the appropriate polygon.I just wondered if anyone has already done it. If so, would you like
to donate it to an open source biodiversity sharing project?Many thanks,
Tim
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------
Message: 5
Date: Tue, 11 Sep 2007 01:29:50 -0700 (PDT)
From: Pouldu <herve.cornec@anonymised.com>
Subject: [Geoserver-users] Getmap with Http Post do not go
To: geoserver-users@lists.sourceforge.net
Message-ID: <12610269.post@anonymised.com>
Content-Type: text/plain; charset=UTF-8
Hello,
To send a request XML to the server wms, I use xmlhttprequest, but in answer
I obtain strange carract?res in the place of the image like this(in reponse
firebug):
code html+javascript:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content="PSPad editor, www.pspad.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8 " />
<title></title>
<script language="JavaScript">
var XML=state_wms();
function state_wms()
{
var XML;
XML = '<?xml version="1.0" encoding="UTF-8"?>'+"\n";
XML += '<ogc:GetMap'+"\n";
XML += ' xmlns:ogc="http://www.opengis.net/ows"'\+"\\n";
XML += ' xmlns:gml="http://www.opengis.net/gml"'\+"\\n";
XML += ' version="1.1.1" service="WMS">'+"\n";
XML += ' <StyledLayerDescriptor version="1.0.0">'+"\n";
XML += ' <NamedLayer>'+"\n";
XML += ' <Name>topp:states</Name>'+"\n";
XML += ' <NamedStyle>'+"\n";
XML += ' <Name>population</Name>'+"\n";
XML += ' </NamedStyle>'+"\n";
XML += ' </NamedLayer>'+"\n";
XML += ' </StyledLayerDescriptor>'+"\n";
XML += ' <BoundingBox
srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">'\+"\\n";
XML += ' <gml:coord>'+"\n";
XML += ' <gml:X>-130.0</gml:X>'+"\n";
XML += ' <gml:Y>24.0</gml:Y>'+"\n";
XML += ' </gml:coord>'+"\n";
XML += ' <gml:coord>'+"\n";
XML += ' <gml:X>-66.0</gml:X>'+"\n";
XML += ' <gml:Y>50.0</gml:Y>'+"\n";
XML += ' </gml:coord>'+"\n";
XML += ' </BoundingBox>'+"\n";
XML += ' <Output><Format>image/png</Format>'+"\n";
XML += ' <Size>'+"\n";
XML += ' <Width>600</Width>'+"\n";
XML += ' <Height>320</Height>'+"\n";
XML += ' </Size>'+"\n";
XML += ' </Output>'+"\n";
XML += ' <Exceptions>application/vnd.ogc.se+inimage</Exceptions>'+"\n";
XML += ' </ogc:GetMap>'+"\n";
return XML;
}
// Send the request
function testPost()
{
var xmlhttp = new XMLHttpRequest();
xmlhttp.open ("POST", "http://127.0.0.1:8080/geoserver/wms",true\);
xmlhttp.setRequestHeader('Content-Type', 'application/vnd.ogc.wms_xml');
alert(XML);
xmlhttp.send(XML);
}
</script>
</head>
<body>
<td><input type="button" onclick="testPost()" value="Testpost">
</body>
</html>
And Stange carractere in reponse:
"PNG
IHDR?? ??{???eN???IDATx??
t??y?{?z???8j???$?[?i?$M?7n???<jYrb[???)[
???E?{????A?? ?
?p??T???)??G"
|???>?e???
???
?6?b??? ???
n2???Hp???
Thank you
--
View this message in context:
http://www.nabble.com/Getmap-with-Http-Post-do-not-go-tf4421060.html#a126102
69
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------
Message: 6
Date: Tue, 11 Sep 2007 10:30:21 +0200
From: "Tim Robertson" <trobertson@anonymised.com>
Subject: Re: [Geoserver-users] Know of a UI tool that lets you select
a country from a world graphic?
To: "'geoserver users'" <geoserver-users@lists.sourceforge.net>
Message-ID: <008d01c7f44d$fdf80ee0$161c26c0@anonymised.com>
Content-Type: text/plain; charset="iso-8859-1"
Thank you very much Per
That looks like a really good start. Perhaps "hover-over" is not necessary,
and given the rate at which the UI tools are developing, I am sure it will
be there soon.
-----Original Message-----
From: Per-Olof Nor?n [mailto:pelle@anonymised.com]
Sent: Tuesday, September 11, 2007 10:21 AM
To: Tim Robertson
Cc: 'geoserver users'
Subject: Re: [Geoserver-users] Know of a UI tool that lets you select a
country from a world graphic?
Hi
One aproach is to use the openlayers vector layer. This however would
require the world layer to be heavily generealized in order to be really
usable performance-wise. Using the vector layer, you could easily
highlight and so forth.
Another apropach is to use your WMS GetFeatureInfo functionality, as the
do it at open layers camp:
http://openlayers.org/dev/examples/getfeatureinfo.html
There is no hoover effect though.
If I'm correct, the newer (1.6? ) versions of geoserver allows you to
style the response of GetFeatureInfo according to taste.
Regards,
Per-Olof
Tim Robertson skrev:
Hi,
Slightly off topic but I am sure we are all using UI tools with our
geoserver?.Does anyone know of any web based tool that lets you select a country
from a map?What I would like is for the user to be presented with a graphic from
a world countries shape file ? as you roll over a country, it is
highlighted, on-click it is selected.I can implement this and would just do some custom JS and SLD, and
most likely pass in the lat/lon for the cursor in a filter - with a
custom datastore to determine the country under the cursor and return
the appropriate polygon.I just wondered if anyone has already done it. If so, would you like
to donate it to an open source biodiversity sharing project?Many thanks,
Tim
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
End of Geoserver-users Digest, Vol 16, Issue 16
***********************************************