[OpenLayers-Users] Strange. Labels treated as numbers

2009-08-28 Thread Arnd Wippermann
Hi, I want to label features by the attribute name ( label:${name} ). The labels should be 06.01, 06.10, 06.080 etc.. But displayed as labels are this: 6.01, 6.1, 6.08. Looking at the code I get no idea, where the place that cause this behaviour. Can someone help. Here is an example of this

[OpenLayers-Users] StyleMap for point on polygon edition ?

2009-08-28 Thread Jimmy Aumard
Hi list, When a polygon is in edition he as point for modify his form, I want to know if it's possible to put a style for this point and another style for normal point. Thanks and sorry for my English. Jim ___ Users mailing list Users@openlayers.org

Re: [OpenLayers-Users] textlayer: popups with closebox

2009-08-28 Thread kmalk
Matthias Woltering wrote: But when I try it, I get a strange z-index error. Also, with this method it is not possible to deactivate one of the layers. Hi! Although some time passed, I wanted to know: Did you find a workable solution? Thanks, Katarzyna -- View this message in context:

[OpenLayers-Users] Réf. : AW: display dat e by scales

2009-08-28 Thread YOUNESS ELMEDRAOUI
no, it does not work with minscale and maxscale too.YounessLes informations figurant sur cet e-mail ont un caractère strictement confidentiel et sont exclusivement adressées au destinataire mentionné ci-dessus.Tout usage reproduction ou divulgation de cet e-mail est strictement interdit si vous

[OpenLayers-Users] Cluster strategy not working

2009-08-28 Thread Max Stephan
Hi everybody, I`m having problems getting the cluster strategy to work. It simply makes no difference in terms of appearance if I add it to the VectorLayer or not. This is my code for the layer: vectorLayer = new OpenLayers.Layer.Vector(Vektorlayer,{

Re: [OpenLayers-Users] textlayer: popups with closebox

2009-08-28 Thread kmalk
By the way: If anyone wants the soultion for the post-question: add anchoredBubbleClass to textLayer for closeBehavior without changing html popup structure and showing only one popup at once OpenLayers.Feature.prototype.popupClass = OpenLayers.Popup.AnchoredBubble;

Re: [OpenLayers-Users] Cluster strategy not working

2009-08-28 Thread Jerome Freyre
Hi Max, Personnally, when I use Cluster Strategy, I create separatly the strategy and the I activate it. var strat = new OpenLayers.Strategy.Cluster({distance:20}); vectorLayer = new OpenLayers.Layer.Vector(Vektorlayer,{

Re: [OpenLayers-Users] textlayer: popups with closebox

2009-08-28 Thread kmalk
sry .. seems like I was a little to fast .. and my browser refreshing a bit to slow .. my solution is no solution :( .. gomen .. kmalk wrote: By the way: If anyone wants the soultion for the post-question .. -- View this message in context:

Re: [OpenLayers-Users] StyleMap for point on polygon edition ?

2009-08-28 Thread Alexandre Dube
Hi Jimmy, Yes, it's possible. See the source code of this example, search for the 'styles' variable : http://openlayers.org/dev/examples/wfs-snap-split.html Regards, Alexandre Jimmy Aumard wrote: Hi list, When a polygon is in edition he as point for modify his form, I want to know if

Re: [OpenLayers-Users] Cluster strategy not working

2009-08-28 Thread Max Stephan
Hi Jerome, thanks for your reply. I already tried that but it causes an error (this.layer.events is null or no object) and the map content isn´t shown. Any other ideas? Greets, Max Stephan Jerome Freyre wrote: Hi Max, Personnally, when I use Cluster Strategy, I create separatly the

Re: [OpenLayers-Users] Cluster strategy not working

2009-08-28 Thread Jerome Freyre
Can you also show us your method that parse and add the feature to the layer? I think another good way to explore is to use firefox and firebug. With firebug, you can add breakpoints and the go step-by-step... Whith that, you should put a breakpoint into your method that parse and add

Re: [OpenLayers-Users] Cluster strategy not working

2009-08-28 Thread Max Stephan
Hi Jerome, I´d be very happy if I could use Firebug in this case (very nice tool for debugging and for tracking the DOM in my opinion) but as I mentioned above: I´m using an ActiveX-Control for reading out the Access-Database and for sending further requests to it. And this method is only

Re: [OpenLayers-Users] StyleMap for point on polygon edition ?

2009-08-28 Thread Jimmy Aumard
Hi Alexandre, It's not what I want (I explain that very badly sorry) I have point with style (external graphic) and I have polygon. It's possible to modify polygons but when it is in modification he have point who take external graphic but I want who take a normal style point. I hope I'm more

Re: [OpenLayers-Users] Cluster strategy not working

2009-08-28 Thread Shawn Oatley
I don't have any input regarding the code, but I have worked with IE 8. Not sure if that is an option, but if it is, they have a powerful script debugger that allows you to step through the code also. Shawn Max Stephan x@gmx.net 08/28/09 8:24 AM Hi Jerome, I´d be very happy if I could

Re: [OpenLayers-Users] StyleMap for point on polygon edition ?

2009-08-28 Thread Alexandre Dube
Now I understand. Take a look at the addUniqueValueRules function in the following example. This might help. http://openlayers.org/dev/examples/styles-unique.html Regards, Alexandre Jimmy Aumard wrote: Hi Alexandre, It's not what I want (I explain that very badly sorry) I have point

Re: [OpenLayers-Users] Strange. Labels treated as numbers

2009-08-28 Thread Christopher Schmidt
On Fri, Aug 28, 2009 at 08:52:11AM +0200, Arnd Wippermann wrote: Hi, I want to label features by the attribute name ( label:${name} ). The labels should be 06.01, 06.10, 06.080 etc.. But displayed as labels are this: 6.01, 6.1, 6.08. Looking at the code I get no idea, where the place that

Re: [OpenLayers-Users] Cluster strategy not working

2009-08-28 Thread Heidt, Christopher M.
i believe you need to add all your features at once, so instead of looping the layer.addFeatures() call you need to build all your features into an array and then call layer.addFeatures() once. -Original Message- From: users-boun...@openlayers.org on behalf of Shawn Oatley Sent: Fri

Re: [OpenLayers-Users] Openstreetmap with 23032 srid json

2009-08-28 Thread Alessandro Ronchi
It's not possible? 2009/8/27 Alessandro Ronchi alessandro.ron...@soasi.com I need to show all my points I've stored on postgis together in a map. I'm able to show openstreetmap with my points, but they are out of their places. To make the point collection I use vectorformats (for django)

Re: [OpenLayers-Users] Cluster strategy not working

2009-08-28 Thread Jerome Freyre
Heidtmare is right and faster than me :D Here is a script working var map, wfs; var styleMap1 = new OpenLayers.StyleMap({ default: new OpenLayers.Style( {

[OpenLayers-Users] Control.GetFeature implementation

2009-08-28 Thread Carlos Lacerda
Hi all, I use OpenLayers with GeoServer in a big project and i implement a simple modification in Control.GetFeature class to suport others filters in request not only BBOX filter for performance issues. Where i post this modification for OpenLayers Developers validation of sugestions ? Thanks.

[OpenLayers-Users] Save Vector drawings in PostGIS

2009-08-28 Thread AlessioDL
Hi, I'm looking for a strategy to use OL as an editor to populate a polygon postgis layer. I can't use WFS-T because I have to work with UMN-Mapserver that doesn't support this specification. What I would like to do is this: (1) use the drawing tools to create my vector features on the map (2)

Re: [OpenLayers-Users] Control.GetFeature implementation

2009-08-28 Thread Bart van den Eijnden (OSGIS)
Hi Carlos, please open up a Trac ticket with a patch attached. Also, we would need an ICLA or CCLA from you. See: http://trac.openlayers.org/wiki/HowToContribute Best regards, Bart Carlos Lacerda wrote: Hi all, I use OpenLayers with GeoServer in a big project and i implement a simple

Re: [OpenLayers-Users] Save Vector drawings in PostGIS

2009-08-28 Thread Pavel Iacovlev
No forms are needed use AXAJ. Here are some examples: http://pastie.org/597897 and a PHP WKT geometry validation class http://pastie.org/597898 On Fri, Aug 28, 2009 at 6:49 PM, AlessioDLalessio.dilore...@gmail.com wrote: Hi, I'm looking for a strategy to use OL as an editor to populate a

Re: [OpenLayers-Users] Save Vector drawings in PostGIS

2009-08-28 Thread Paul Spencer
Try using tinyows, it is a lightweight c-based cgi that implements WFS with transaction support and is backed by a postgres/postgis database. The WFS protocol in OpenLayers seems to work perfectly with it, use the Save strategy to ensure every edit gets saved to the db and you can use

Re: [OpenLayers-Users] Save Vector drawings in PostGIS

2009-08-28 Thread Alexandre Dube
Here's an old demo using OpenLayers + TinyOWS for WFS-T. This might give you some ideas. http://dev4.mapgears.com/bdga/bdgaWFS-T.html Alexandre Paul Spencer wrote: Try using tinyows, it is a lightweight c-based cgi that implements WFS with transaction support and is backed by a

Re: [OpenLayers-Users] Save Vector drawings in PostGIS

2009-08-28 Thread AlessioDL
Thank you very much guys for your great and super-fast answers!!! Now I have a lot of example to study :-D -- View this message in context: http://n2.nabble.com/Save-Vector-drawings-in-PostGIS-tp3535558p3536621.html Sent from the OpenLayers Users mailing list archive at Nabble.com.

[OpenLayers-Users] How to find shapefile's projection?

2009-08-28 Thread kennyken
So, I have a shapefile. There's a .dbf, .prj, .sbn, .sbx, .shp, and a .shx file associated with it. Inside the .prj file, there's this.

Re: [OpenLayers-Users] How to find shapefile's projection?

2009-08-28 Thread Tobias Wendorff
It's EPSG:26917. See: http://svn.osgeo.org/metacrs/proj/trunk/proj/nad/epsg kennyken schrieb: So, I have a shapefile. There's a .dbf, .prj, .sbn, .sbx, .shp, and a .shx file associated with it. Inside the .prj file, there's this.

Re: [OpenLayers-Users] How to find shapefile's projection?

2009-08-28 Thread Amos Hayes
You can also search the incredibly useful spatialreference.org for something like NAD83 17N. Interestingly, searching for NAD_1983_UTM_Zone_17N doesn't turn up any results, despite being a string that exists in the PRJ file description you can download from that site for EPSG:26917. I'm

Re: [OpenLayers-Users] How to find shapefile's projection?

2009-08-28 Thread Christopher Schmidt
On Fri, Aug 28, 2009 at 04:15:33PM -0400, Amos Hayes wrote: You can also search the incredibly useful spatialreference.org for something like NAD83 17N. Interestingly, searching for NAD_1983_UTM_Zone_17N doesn't turn up any results, despite being a string that exists in the PRJ file

Re: [OpenLayers-Users] Save Vector drawings in PostGIS

2009-08-28 Thread Gabriel Nolasco
Hi, You can use the method toString from the class OpenLayers.Geometry which returns the Well-Known Text representation of a geometry. See: http://dev.openlayers.org/docs/files/OpenLayers/Geometry-js.html#OpenLayers.Geometry.toString An example: