Hello David,
Thanks for your reply, i have followed your recommendations and have now 2
vectors layers containing same type of data but with coordinates adapted to
each side of the date line (-179 becoming +181 in one file and 179 becoming
-181 in the other).
vectorsWest = new
I next to resolve, but I've got this problem now:
I manage in passing all parameters needed, but I encountered an error on the
GET string generated by OL:
The String passed to the WMS Server to obtain feature info is this:
hi all,
starting from the Drag-feature example (
http://openlayers.org/dev/examples/drag-feature.html) I need to limit to 1
the number of points which can be added to the vector layer
if the user, after having added one point, clicks again, the first point is
deleted and only the newly created
Hi,
you could do something like:
1) use sketchstarted event to limit the number of features to 1
2) use the featureadded event to set your form field
Example code (just for reference, copy/paste from another project):
new OpenLayers.Layer.Vector(Sketch, {
I finally find the solution!
The problem was related to the IIS and proxy.cgi that I needed in my WebApp
directory.
I followed the zhuhua zha's solution at the post:
http://osgeo-org.1803224.n2.nabble.com/Solution-to-proxy-for-WFS-request-on-IIS-td1830924.html
--
View this message in context:
I use the http://osgeo-org.1803224.n2.nabble.com/file/n5469364/proxy.php
proxy.php script from Mapbuilder, which works well with OpenLayers and does
not require manually configuring allowed domains:
http://docs.codehaus.org/display/MAP/Downloads.
-
Bryan R. McBride, GISP
Thanks for the help. I see that the 'default' style is being used to
render the vertices, but I still don't understand how to prevent
'undefined' labels from being applied to them.
I did look at the code for
OpenLayers.Control.ModifyFeature.collectVertices, but I'm not sure
what to do
Hello everybody,
I need to display a set of points that comes from a query to a database.
The information associated with the point is simply ID, X_COORD, Y_COORD.
I can write a php page that executes the query and I can get the results in
javascript using a xmlhttprequest (ajax).
I need to show
I've been working on something like 'display georeferenced point', and I did
like that:
- associate the X/Y coordinates with a geometry in the database (using
PostGIS extension to a PostgreSQL database;
- import the database in an istance of GeoServer (which can reproject your
points in all the
If you take the wrapDateLine.html example, http://gentoo/OpenLayers-
2.9.1/examples/wrapDateLine.html, and use it as is, zoom in one level and
Sorry. My local URL isn't going to help anyone.
http://openlayers.org/dev/examples/wrapDateLine.html
___
(not confident that my 1st post made it in the queue)
Hi, all. I realize that vectors are tricky as they cross the dateline, but the
behavior from FF to IE is different against the same WMS source which suggests
that the problem is on the client side and not the server side.
If you take the
Hi, all. I realize that vectors are tricky as they cross the dateline, but the
behavior from FF to IE is different against the same WMS source which suggests
that the problem is on the client side and not the server side.
If you take the wrapDateLine.html example,
Ok I was finally able to figure this out. When I add my overview map layers
which I have predefined to the actual map it gets all messed up in terms of
size/zoom etc. But when I just create a few layers specifically for the
overviewmap only and then *dont* add these layers to the map but only add
Hi,
The features have no values = undefined, but a status of undefined. So
your comparison can not work.
The only idea I have, is to set i.e an attribute show=yes for features,
that should be labeled. And add the below rule:
var PolygonSymbolizer = { fillColor: ${color},
I am trying to get a layer tree to work from the tutorial located here -
http://geoext.org/tutorials/layertree-tutorial.html
Not sure exactly what I am doing wrong but previously I have a working
openlayers map with many layers defined. Do I have to actually add a map
panel to get this to work
Hey OL
I'm trying display the data associated with a feature (point) in a vector
(WFS) layer using the script below
When I click on the feature I get the message:
No QUERY_LAYERS has been requested, or no queriable layer in the request
anyways
I've used both
16 matches
Mail list logo