Re: [Geoserver-users] Disperse Markers in geoserver/openlayers

2011-09-23 Thread Håvard Wahl Kongsgård
Thanks, but how easy would it be to use the two methods
together(clustering and declustering) when zooming to different
levels(like Spatialkey.com) ? Maybe by using multiple levels?

Also, what about on the fly cubic interpolation of point values.
It's not very computer intensive(Spatialkey.com use that as well on
points).

-Håvard


2011/9/22 Andrea Aime andrea.a...@geo-solutions.it:
 2011/9/22 Håvard Wahl Kongsgård haavard.kongsga...@gmail.com:
 Hi, I have a problem with overlapping points(identical XY). Googling I
 found that Arcgis has a useful tool Disperse Markers which expands
 clustered(overlapping points)
 http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=1313pid=1306topicname=Disperse_Markers_(Cartography)
 . Is a similar feature available in geoserver/openlayers for expanding
 point clusters on the fly? The math behind it must be very simple, so
 the alternative is to created a new geom in postigs with expanded
 clusters.

 There is a little trick you can employ. Text symbolizers in GeoServer
 can be associated
 to a graphic, which in the original intention was the road plate, a
 background graphic
 that would be moved along with the label

 Now, if your label is empty space you can use label displacement to
 actually move away
 the points in a controlled way.
 The downside if you want is that if a new position cannot be found,
 not even by moving
 it around within the specified distance, the point won't be painted at all.

 Here is an example map with cities:
 http://demo1.geo-solutions.it/playground/GeoSolutions/wms?LAYERS=GeoSolutions%3AcitiesSTYLES=starsFORMAT=image%2FpngSERVICE=WMSVERSION=1.1.1REQUEST=GetMapEXCEPTIONS=application%2Fvnd.ogc.se_inimageSRS=EPSG%3A4326BBOX=-0.59257250976506,38.661416015626,24.887332275391,51.617299804688WIDTH=649HEIGHT=330

 and here is the same with the trick above:
 http://demo1.geo-solutions.it/playground/GeoSolutions/wms?LAYERS=GeoSolutions%3AcitiesSTYLES=displaceFORMAT=image%2FpngSERVICE=WMSVERSION=1.1.1REQUEST=GetMapEXCEPTIONS=application%2Fvnd.ogc.se_inimageSRS=EPSG%3A4326BBOX=-0.59257250976506,38.661416015626,24.887332275391,51.617299804688WIDTH=649HEIGHT=330

 I guess you'll need to play a bit with it to get it right, but it may work.
 The full style is here:
 http://demo1.geo-solutions.it/playground/styles/displace.sld

 Cheers
 Andrea


 --
 ---
 Ing. Andrea Aime
 GeoSolutions S.A.S.
 Tech lead

 Via Poggio alle Viti 1187
 55054  Massarosa (LU)
 Italy

 phone: +39 0584 962313
 fax:      +39 0584 962313

 http://www.geo-solutions.it
 http://geo-solutions.blogspot.com/
 http://www.youtube.com/user/GeoSolutionsIT
 http://www.linkedin.com/in/andreaaime
 http://twitter.com/geowolf

 ---


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Disperse Markers in geoserver/openlayers

2011-09-23 Thread Andrea Aime
2011/9/23 Håvard Wahl Kongsgård haavard.kongsga...@gmail.com:
 Thanks, but how easy would it be to use the two methods
 together(clustering and declustering) when zooming to different
 levels(like Spatialkey.com) ? Maybe by using multiple levels?

 Also, what about on the fly cubic interpolation of point values.
 It's not very computer intensive(Spatialkey.com use that as well on
 points).

Two good ideas, both would require some programming work
to be implemented.
I guess both would fit well the rendering transformations approach
that we have on trunk:
http://geo-solutions.blogspot.com/2011/01/developers-corner-have-your-sld.html
http://docs.codehaus.org/display/GEOTOOLS/Rendering+transformations
(the second link contains details, but does not seem to work at the moment)

Cheers
Andrea

-- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Custom SRS IAU Projections

2011-09-23 Thread Jay L.
Hello,

I have recently installed geoserver and used gdal_retile.py to create
pyramids of a lunar basemap.  The basemap is projected to Moon2000 GCS (link
to the spatialreference.org
http://spatialreference.org/ref/iau2000/30100/information).


I edited my epgs.properties file and added the OGC WKT (from the link above)
to that file using vi.  Through geoserver's web administration app, I can
see that Moon2000 ( which I numbered 30100) has been added.  Unfortunately,
the wkt portion is showing up completely empty.  I suspect that I need to
add a custom datum and or spheroid.  Can anyone aim me in the right
direction?  I wish to add a number of the IAU planetary projections.

Also, and I will post to the GDAL list.  Using gdal_retile has created a
.prj in the root directory of the pyramid tree which has an unname
projection.  Is this typical, or should I, when retiling for geoserver, be
using the projection flag.

gdal_info, used on each tile returns the correct information (moon2000,
correct bounding box, origin, etc.)

Here are the contents of that .prj.

PROJCS[unnamed,
  GEOGCS[GCS Name = GCS_MOON|Datum = D_MOON|Ellipsoid =
MOON_localRadius|Prim$
DATUM[GCS Name = GCS_MOON|Datum = D_MOON|Ellipsoid =
MOON_localRadius|Pri$
  SPHEROID[GCS Name = GCS_MOON|Datum = D_MOON|Ellipsoid =
MOON_localRadiu$
PRIMEM[Greenwich, 0.0],
UNIT[degree, 0.017453292519943295],
AXIS[Geodetic longitude, EAST],
AXIS[Geodetic latitude, NORTH]],
  PROJECTION[Equidistant_Cylindrical],
  PARAMETER[central_meridian, 0.0],
  PARAMETER[latitude_of_origin, 0.0],
  PARAMETER[standard_parallel_1, 0.0],
  PARAMETER[false_easting, 0.0],
  PARAMETER[false_northing, 0.0],
  UNIT[m, 1.0],
  AXIS[Easting, EAST],
  AXIS[Northing, NORTH]]

Thanks,
Jay
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WFS namespace issue

2011-09-23 Thread Gabriel Roldan
Hi Jasper,

I was able to reproduce, but couldn't easily find the root of the
problem. Odd indeed.
Perhaps Justin (cc'd) can spot it out more easily as he knows the WFS
module better than anyone.

Cheers,
Gabriel

On Tue, Sep 20, 2011 at 4:13 AM, Jasper de Barbanson
geoserver-us...@de-barbanson.com wrote:
 Recently we discovered a problem regarding namespaces in WFS responses.
 First we assumed it was an configuration problem on our end, however further
 analysis has resulted in reproducing this problem in a default Geoserver
 installation. I have reproduced this issue in Geoserver 2.1.1 using the Web
 Archive version, installed on linux, and in the Windows Installer version,
 installed on Windows XP SP3. The problem also exists is the latest nightly
 build.
 What is the problem you ask? A WFS-request of datastore X with outputFormat
 GML 3.1 works fine, however every next WFS-request of another datastore Y
 will fail. It will fail for all other datastores, accept the first accessed
 datastore. The response which is generated contains null-namespaces. The
 namespace of datastore Y is not added to the response, but instead the
 namespace of datastore X is added. Because of de null-namespaces the
 response is invalid for most applications and browsers.
 How-to reproduce?
 - Take a clean install of Geoserver 2.1.1
 - Open the console
 - Go to Layer Preview
 - Open de preview for 'tiger:giant_polygon' in format 'WFS - GML3.1' (this
 should give a correct response)
 - Open de preview for 'topp:states' in format 'WFS - GML3.1'
 If you do this in Chrome you get the following error: Namespace prefix null
 on states is not defined. If you look into the response, you can see there
 is no namespace defined for 'topp', however there is a namespace for
 'tiger'.
 I have the following questions:
 - is this a bug in Geoserver?
 - is so, is there a workaround?
 - if not, what should I change in the configuration to make WFS-requests
 work for all datastores?
 Kind regards,
 Jasper


 --
 All the data continuously generated in your IT infrastructure contains a
 definitive record of customers, application performance, security
 threats, fraudulent activity and more. Splunk takes this data and makes
 sense of it. Business sense. IT sense. Common sense.
 http://p.sf.net/sfu/splunk-d2dcopy1
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users





-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Point symbol collide when zoom out

2011-09-23 Thread qed
I'm displaying Point of interest as graphics. it works well. However, when
zooming out, points near to each other will be overlap each other.  

Is there a vendor option similiar to what mapserver does with mindistance.
It only pick to display a single icon when the other icon is too near.

http://osgeo-org.1803224.n2.nabble.com/file/n6826322/label.png  

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Point-symbol-collide-when-zoom-out-tp6826322p6826322.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users