1,292 reputation
310
bio website
location
age
visits member for 1 years, 5 months
seen 20 hours ago

Apr
16
comment Calculating distance scale factor by latitude for Mercator
Thanks, answer is really detailed!
Jan
13
comment cluster features styling (by value return of the function)
No, $ doesn't stand for jQuery in given situation; it's markup for OpenLayers and should be within quatation marks.
Nov
1
comment purpose of maxExtent?
I'd like to just point out, that there are incorrect bounds in your example - those are 10x smaller than should, check CaptDragon's answer for correct bounds for Google projection
Oct
11
comment Openlayers SelectControl add multiple Layers
Julien's answer seems to be correct. Just one comment - if you are creating all your layers at once, you can skip setLayer and use window.selectControl = new OpenLayers.Control.SelectFeature([markerLayer, newLayer]);
Oct
3
comment Own layerswitcher value not defined
You should post this as separate question. And also you should add point behind ("Einwohner") and setVisibility :)
Oct
2
comment openlayers: reading polygon attributes
Just some hints: you can use WFS service, and add filtering condition to your query. Since you're using Geoserver, you can use CQL_FILTER, something like CQL_FILTER=LME_ID=123
Aug
22
comment How do I use getinfo to get attribute information i openlayers as I click a feature
Probably most common problem with OpenLayers. As Devdatta told, you need to set up proxy. There are plenty of explanations and examples, for example: trac.osgeo.org/openlayers/wiki/…
Aug
14
comment Clustering not working on features in OpenLayers
Just a thought: add layer to map; then add features to layer
May
22
comment How to get a feature that lies closest to a point in openlayers?
What routing engine are you using? Routing data is in mySql?
Apr
15
comment Openlayers/Proj4js not transforming coordinates the first time
I have experienced same anomaly (and in several different projects) - transformation doesn't work correctly at the first place. Little timeout, execution of that command again, or any other similar hack fixes problem.
Apr
9
comment Why is mapserver layer not showing up in openlayers?
Usually Mapserver explains in plain english, what's wrong and why it doesn't give result. What to do: a) use some kind of developer tool (like FireBug) to examine, whether there are errors in Javascript b) examine WMS request, that is made by OpenLayers (Network tab in FireBug). If necessary, copy URL from FireBug and open it directly in browser. In case of error, you get error report (in XML by default, see Exceptions parameter in WMS query).
Apr
8
comment Query WMS for available layers using Openlayers
I haven't used lot of different proxys, usually it's not neccessary to define allowed remote servers in there. If proxy.cgi does require that - look for another proxy script. Beside that, there should be no problems to add user-defined WMS services dynamically.
Mar
8
comment how to change color of feature to mark it as recently modified with openlayers
It depends, how did you define feature style - attached style directly to feature, used layer styling, context functions etc. You should post some code.
Mar
5
comment OpenLayers - draw feature with style, lost after map redraw
That's correct. You have to change style of feature, then call drawFeature to update style on screen. And don't try layer.drawFeature(feature.clone());
Mar
1
comment OpenLayers + GEOExt + extjs. VS OpenLayers+jquery
Agree with BradHards. ExtJS and jQuery are completly different frameworks for completly different tasks. When you know, what your application is going to be, then it's easy to choose between them.
Feb
25
comment Calculate min distance between points in PostGIS
For point 3 - why not distance between 3 and 2?
Feb
22
comment Problem loading a GeoJSON file using Openlayers
Cross domain policy doesn't allow access to files in different host/port, you have to set up proxy. There are plenty of postings both here in stackexchange and in Google.
Feb
18
comment OpenLayers & MySQL
Did I get it correctly: query 'number of students who study at the university X and come from town Y' should display marker on each university, and marker is labeled with count of students, who come from Y?
Feb
6
comment How to add WFS layer from geoserver to openlayers
Most cases, when WFS requests doesn't work, are caused by browser's same origin policy and you need to set up Proxy or server your JS and WFS from same server:port. But I read you copied your html to geoserver's directory, and that didn't help. As suggested, examine traffic with FireBug. So you can see, whether your requset is made at all and gets answer; and WFS request may contain useful information (error description).
Feb
6
comment ajax not working with postgresql
Agree with Tomfumb's suggestion: at first create PHP file that contains only echo "foo"; so you can determine, whether problem is in your PHP code, or in JavaScript AJAX call. If it works, continue with var_dump $_REQUEST; Also, I would suggest using OpenLayers.Request or jQuery's AJAX functions. Oh, and most important thing: examine request in Firebug.