| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 7 months |
| seen | 2 hours ago | |
| stats | profile views | 19 |
|
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. |
|
Jan 23 |
comment |
GeoServer GetCapabilities Not Working You could open your application through Jetty (from localhost:8080), then you won't need proxy. Sorry, haven't done this myself, and can't give any instructions. |
|
Jan 16 |
comment |
Split linestring to smaler lines I don't have correct solution, but problem is: you have WGS coordinates and you don't specify coordinate system. Therefore, those are just planar coordinates, with distances less than 0.01 units between points. Of course there aren't any points added, when you try to segmentize them with 10 units value. |
|
Jan 14 |
comment |
Load and display a large number of points using openlayers Here is example for clustering ~14 000 points (to my knowledge): peatus.ee/#route_search It's Google Maps API + third-party clustering code, not OpenLayers, but you should be able to achieve same result with OL. |
|
Jan 8 |
comment |
How can I use CQL in WFS layers in openlayers Are you using Geoserver? CQL filters don't work with any other WMS service. |
|
Jan 7 |
comment |
Append table in PostGIS - Geometry Violation Do you have pgAdmin? Just look for your table in left pane ('Object browser'), and there's Constraints section. When you are using plain psql, try \d table - but I'm not sure, whether it describes also constraints. |
|
Jan 7 |
comment |
Append table in PostGIS - Geometry Violation You may have POLYGON contraint on sdata.the_geom and therefore can't insert MULTIPOLYGONs. Check out, what is definition for enforce_geotype_the_geom. |
|
Jan 7 |
comment |
Append table in PostGIS - Geometry Violation a) what geometry contraint do you have in sdata? b) what does select geometrytype(the_geom) from s_invalid; say? |
|
Jan 4 |
comment |
How to snap line string start & end vertex to the nearest point? I made suggestion in stackoverflow.com/questions/14155749/… - should I duplicate it here? |