Hello to all
Can anyone tell me how can i add map types when google maps is used as background ?
When i add a maptype ( i.e google earth plugin ) geoserver does not serving the data : (
my implementation is here http://www.mpe.gr/gmaps/par_oikismoi.html
On Fri, Jul 25, 2008 at 9:55 PM, <geoserver-users-request@lists.sourceforge.net> wrote:
Send Geoserver-users mailing list submissions to
geoserver-users@lists.sourceforge.netTo 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.netYou can reach the person managing the list at
geoserver-users-owner@lists.sourceforge.netWhen replying, please edit your Subject line so it is more specific
than “Re: Contents of Geoserver-users digest…”Today’s Topics:
- Re: Problem with Geoserver, PostGIS data, 900913 projection?
(Arne Kepp)- Re: Geoserver-users Digest, Vol 26, Issue 17 (Icons for
pointsymbolizers) (Arne Kepp)- Re: max features (Stephen Crawford)
- Re: Point Selection/Intersection Problem w/ 900913
(Justin Deoliveira)- Re: Point Selection/Intersection Problem w/ 900913
(Andreas Hocevar)- Re: DWithin filter not working with MultiPolygon?
(Justin Deoliveira)
Message: 1
Date: Fri, 25 Jul 2008 11:28:21 -0400
From: Arne Kepp <ak@…1671…>
Subject: Re: [Geoserver-users] Problem with Geoserver, PostGIS data,
900913 projection?
To: DHall <d.hall@…1744…>
Cc: geoserver-users@lists.sourceforge.net
Message-ID: <4889F115.8030104@…1671…>
Content-Type: text/plain; charset=ISO-8859-1; format=flowedSo then your layer is probably reprojecting correctly (EPSG:900913 does
stretch things quite a bit).Your problem appears to be the way you configure your JavaScript client.
You can append &format=application/openlayers to the URL below to get a
sample client in EPSG:900913. If you look at the requests it sends to
the backend (use something like firebug) and compare that to what the
client you have made does, you may be able to figure it out.Note that OpenLayers default to 4326, so you should define the
projection on the Map object and similarly for all layers you add to
this map.-Arne
DHall wrote:
That URL did return something for me–it shows me my line segments returned
in a 17px by 549px image, so stretched out vertically.In the request.log, I see the various GET requests, no errors.
DHall
Arne Kepp-2 wrote:
Try
http://localhost:8080/geoserver/wms/reflect?layers=lake:segments_geom&srs=EPSG:900913
?and also check the geoserver logs, in the /logs ?
-Arne
DHall wrote:
I had hoped it would be so easy a solution, but the SRID for my table is
set
to 4326 in geometry_columns.DHall
DavidRobison wrote:
I had a similar problem. I had to ensure that the geometry_columns entry
for the table had the correct SRID as well as the geometries stored in
the table. Hope this helps. DavidDHall wrote:
I have installed GeoServer 1.6.4 and have LINESTRING data in a a
Postgres/PostGIS database.I added the database to GeoServer and confirmed that the data is active
and
the map is available. On the OpenLayers map test page, it works
beautifully
with the generated code below. (Making requests with the BBOX in
lat/long
format.)tiled = new OpenLayers.Layer.WMS(
“lake:segments_geom - Tiled”,
“http://localhost:8080/geoserver/wms”,
{
srs: ‘EPSG:4326’,
width: ‘529’,
styles: ‘’,
height: ‘550’,
layers: ‘lake:segments_geom’,
format: ‘image/png’,
tiled: ‘true’,
tilesOrigin :
“42.14712219238278,-88.12725982666012”
},
{buffer: 0}
);// setup single tiled layer
untiled = new OpenLayers.Layer.WMS(
“lake:segments_geom - Untiled”,
“http://localhost:8080/geoserver/wms”,
{
srs: ‘EPSG:4326’,
width: ‘529’,
styles: ‘’,
height: ‘550’,
layers: ‘lake:segments_geom’,
format: ‘image/png’
},
{singleTile: true, ratio: 1}
);For the OpenLayers demo, the topp:states tiles work in the default
code.
But
trying to add my Layer above to the demo has been a total failure. All
I
ever get returned from the wms is blank tiles. Trying to work without
OpenLayers (using the various JS scripts out there to do a custom map
overlay on Google Maps) has also been a total failure–again, only
blank
tiles are received.I am very new to this, and concerned that perhaps I have somehow
misconfigured my datasource so that it does not work with the 900913
projection? I am looking for any suggestions here, I have been
pounding
my
head against a brick wall with this.Thanks,
DHall–
David R Robison
Open Roads Consulting, Inc.
708 S. Battlefield Blvd., Chesapeake, VA 23322
phone: (757) 546-3401
e-mail: drrobison@…410…
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579This e-mail communication (including any attachments) may contain
confidential and/or privileged material intended solely for the
individual
or entity to which it is addressed. If you are not the intended
recipient, you should immediately stop reading this message and delete
it
from all computers that it resides on. Any unauthorized reading,
distribution, copying or other use of this communication (or its
attachments) is strictly prohibited. If you have received this
communication in error, please notify us immediately.
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
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
Message: 2
Date: Fri, 25 Jul 2008 11:57:32 -0400
From: Arne Kepp <ak@…1671…>
Subject: Re: [Geoserver-users] Geoserver-users Digest, Vol 26, Issue
17 (Icons for pointsymbolizers)
To: George Tsolakis <gtsolakis@…84…>, geoserver-users
<geoserver-users@lists.sourceforge.net>
Message-ID: <4889F7EC.30303@…1671…>
Content-Type: text/plain; charset=ISO-8859-7; format=flowedGlad you got it working. I haven’t actually tried to use label placement
features, but have a look athttp://geoserver.org/display/GEOSDOC/ComplexLabelingExample
Look for (my guess), or try some of the other stuff on
that page.(Adding list again, there are people who know much more than I about
these things.)-Arne
George Tsolakis wrote:
Ok Arne got it. It was very simple
http://www.mpe.gr/index.php?option=com_content&task=view&id=441&Itemid=78
<http://www.mpe.gr/index.php?option=com_content&task=view&id=441&Itemid=78>one problem now is that label is overlapping icon.
Is there a known solutions for that?
- G . Tsolakis
On Wed, Jul 16, 2008 at 9:41 PM, Arne Kepp <ak@…1671…
mailto:[ak@...1671...](mailto:ak@...1671...)> wrote:Not sure I understand you correctly, but you can use icons for
pointsymbolizers in the SLD, see
http://docs.codehaus.org/display/GEOTOOLS/Dynamic+SLD+Graphic+objectsNote that GeoServer will download this image every time it renders
it, so it’s a good idea to serve it from the same host.-Arne
George Tsolakis wrote:
Hello to all
Is it possible to use icons as markers on geoserver ?
my implementation is here
http://www.mpe.gr/index.php?option=com_content&task=view&id=441&Itemid=78&lang=en
<http://www.mpe.gr/index.php?option=com_content&task=view&id=441&Itemid=78&lang=en>
<http://www.mpe.gr/index.php?option=com_content&task=view&id=441&Itemid=78&lang=en
<http://www.mpe.gr/index.php?option=com_content&task=view&id=441&Itemid=78&lang=en>>I would like to have a custom icon instead of the standard
geoserver marker–
??? ??? - ???
??? ??? ???
??? 57. ???. ???
tel: +30 210 5727615
fax: +30 210 5727995
mobile: + 30 6977 158693
email: gtsolakis@…84… mailto:[gtsolakis@...84...](mailto:gtsolakis@...84...)
URL : www.mpe.gr <http://www.mpe.gr>
!DSPAM:4038,4889f51044007180515871!
Message: 3
Date: Fri, 25 Jul 2008 13:24:37 -0400
From: “Stephen Crawford” <src176@…73…>
Subject: Re: [Geoserver-users] max features
To: <geoserver-users@lists.sourceforge.net>
Message-ID: <005e01c8ee7b$509613e0$f7af7680@…1742…>
Content-Type: text/plain; charset=“us-ascii”Hi Justin,
I found that my problem is on the postgis side of things. By looking at the
sql sent from geoserver, I can see that my wfs request works fine because it
is not looking for the bounding box. That is, the query from the wfs works
well:SELECT “oid”, encode(asBinary(force_2d(“the_geom”),‘XDR’),‘base64’) FROM
“public”.“obs_subset” WHERE “sci_name” = ‘Scolopax minor’;…but the wms query doesn’t (actually, it does come up after about 10
minutes):SELECT “oid”, encode(asBinary(force_2d(“the_geom”),‘XDR’),‘base64’) FROM
“public”.“obs_subset” WHERE ((TRUE AND “sci_name” = ‘Scolopax minor’) AND
“the_geom” && GeometryFromText(‘POLYGON ((-6190456.43153527 -4590000,
-6190456.43153527 4590000, 4890456.43153527 4590000, 4890456.43153527
-4590000, -6190456.43153527 -4590000))’, 102008));I have a spatial index, and the query planner says it is using the index.
I’ve run vacuum analyze and update_geometry_stats (we’re using pg 7.4 and
postgis 1.2) The table is all point data, again about 13 million records.
This query returns about 4500 rows. Should it be this slow? I did note
that each of the points does not have a bbox (hasbbox=f)…but I wouldn’t
think that would matter for points.Thanks,
Steve-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@…1…]
Sent: Thursday, July 24, 2008 10:14 PM
To: Josh Marcus
Cc: Stephen Crawford; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] max featuresAny chance one of you can include the log of the query being made against
postgis during the WMS request. Definitely seems something is a miss. And as
I mentioned before a dump of some sample data would definitely help us debug
this one.-Justin
Josh Marcus wrote:
Stephen,
We are having a similar issue that may be related. We have a postgis
Feature Type with about 800k features. We notice a sharp decrease in
performance when we send a WMS request with a filter that returns ~50k
features. On our server, we can handle 50-80k feature requests (with
4-5 seconds delay) but as the number of features increase the delays
get significantly longer (45 seconds). Similarly, the postgis table
doesn’t seem to be the problem, as I can render all 800k points in
MapServer with only a few seconds of processing max.Let me know if you resolve your issue, and if you are able to get good
performance rendering your points. Thanks!–j
On Tue, Jul 22, 2008 at 10:33 AM, Stephen Crawford <src176@…73…
mailto:[src176@...73...](mailto:src176@...73...)> wrote:All,
I currently have a postgis Feature Type with approx 13 million point
features. My geoserver instance is set for 1 million max features.
When I
send a WMS request with a filter that should return about 40,000
features,
geosever just hangs…the same query is returned quickly when I hit
postgis
directly. My question is: does the Maximum Features number refer
to the
total number of features in the Feature Type (13 million) or the
number
returned for the GetMap request (40,000)?Thanks,
SteveStephen Crawford
Center for Environmental Informatics
The Pennsylvania State University
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=/
<http://moblin-contest.org/redirect.php?banner_id=100&url=/>
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
mailto:[Geoserver-users@lists.sourceforge.net](mailto:Geoserver-users@lists.sourceforge.net)
https://lists.sourceforge.net/lists/listinfo/geoserver-users!DSPAM:4007,488607db260511637810514!
–
— 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=/!DSPAM:4007,488607db260511637810514!
–
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users!DSPAM:4007,488607db260511637810514!
–
Justin Deoliveira
The Open Planning Project
jdeolive@…1…
Message: 4
Date: Fri, 25 Jul 2008 11:28:12 -0700
From: Justin Deoliveira <jdeolive@…1…>
Subject: Re: [Geoserver-users] Point Selection/Intersection Problem w/
900913
To: Andreas Hocevar <andreas.hocevar@…84…>
Cc: Tim Coulter <tim@…1…>,
geoserver-users@lists.sourceforge.net
Message-ID: <488A1B3C.8050203@…1…>
Content-Type: text/plain; charset=ISO-8859-1; format=flowedCool, thanks Andreas. Is there a bug report filed or it already? If so I
will go ahead and file one.-Justin
Andreas Hocevar wrote:
Hi Justin,
the Intersects filter works fine with point or linestring geometries.
But not with box.We were able to work around the issue by using a point geometry, but I
think this is still something to investigate.Regards,
Andreas.Justin Deoliveira wrote:
Hi Tim,
Not sure if you have solved this one or not… if so please ignore
My guess would be that you stumbled upon a bug transferring the xml
filter to a predicate in the WHERE class in teh backend query. You are
using postGIS correct?Looking at the GeoServer logs should show you exactly the SQL query made
to the backend. I tried to log into that server to view the logs myself
but I dont seem to have access.-Justin
Tim Coulter wrote:
All,
I’m using Geoserver with OpenLayers to create a javascript map that
allows user’s to select features. When the user clicks on the map, it
makes a get feature request using a bbox filter to get the desired
feature. Ideally, I’d like to use an intersect filter instead, but when
I try it, geoserver doesn’t return any result (when the bbox request
does). David Winslow tells me this has something to do with EPSG 900913
and reprojection. Would anyone have any idea why I’d be seeing this
behavior?I’ve included two requests that should show you what’s going on. The
first is the bbox request which returns the correct feature. The second
is a very similar intersect request which seems to return zero features
(gml:null). Both requests are made to demo.opengeo.org/alachua/wfs,
which is a public server.bbox request: http://pastebin.com/f165d829
intersect request: http://pastebin.com/f39343b5dBoth requests should return the same feature. The data is stored in EPSG
2238, but is shown in OpenLayers as EPSG 900913.Thanks a lot for your help!
Tim
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
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!DSPAM:4007,488983e0186407180515871!
–
Justin Deoliveira
The Open Planning Project
jdeolive@…1…
Message: 5
Date: Fri, 25 Jul 2008 20:37:29 +0200
From: Andreas Hocevar <andreas.hocevar@…84…>
Subject: Re: [Geoserver-users] Point Selection/Intersection Problem w/
900913
To: Justin Deoliveira <jdeolive@…1…>
Cc: Tim Coulter <tim@…1…>,
geoserver-users@lists.sourceforge.net
Message-ID: <488A1D69.3020708@…84…>
Content-Type: text/plain; charset=ISO-8859-1; format=flowedJustin Deoliveira wrote:
Cool, thanks Andreas. Is there a bug report filed or it already? If so
I will go ahead and file one.Thanks Justin. There is none I think.
Andreas.
Message: 6
Date: Fri, 25 Jul 2008 11:55:44 -0700
From: Justin Deoliveira <jdeolive@…1…>
Subject: Re: [Geoserver-users] DWithin filter not working with
MultiPolygon?
To: Andreas Hocevar <andreas.hocevar@…84…>
Cc: geoserver-users@lists.sourceforge.net
Message-ID: <488A21B0.4080902@…1…>
Content-Type: text/plain; charset=ISO-8859-1; format=flowedHi Andreas,
Strange one… changing from MultiPolygon → Polygon seems to work ok.
So it appears that multi geometries are not being handled properly by
shapefile. I will look into this further.-Justin
Andreas Hocevar wrote:
Hi,
I stumled across a strange behaviour with the DWithin filter. When using
a Polygon or LinearRing geometry [1], everything works fine. But when
using a MultiPolygon geometry (which I retrieved by GetFeature from
GeoServer) [2], the DWithin filter returns nothing.The requests in [1] and [2] can be tested against
http://geoext.opengeo.org/geoserver_alachua/wfs.Regards,
Andreas.[1] http://pastebin.com/f7aa58cec
[2] http://pastebin.com/f79a454d0
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!DSPAM:4007,4889ab39239441030819293!
–
Justin Deoliveira
The Open Planning Project
jdeolive@…1…
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-usersEnd of Geoserver-users Digest, Vol 26, Issue 39
–
Γεώργιος Τσολάκης - Περιβαλλοντολόγος
Γραφείο Περιβαλλοντικών Μελετών
Ζήνωνος 57. Περιστέρι. Αθήνα
tel: +30 210 5727615
fax: +30 210 5727995
mobile: + 30 6977 158693
email: gtsolakis@…84…
URL : www.mpe.gr