Hi Dave,
The OpenLayers.Format.GML [1] surely has a read method! Are you using it
the right way? It needs to be something like this (not tested):
var gmlReader = new OpenLayers.Format.GML()
or if you insist on using GML3:
var gmlReader = new OpenLayers.Format.GML.v3()
Then you do the following
Currently I use the object type GML to read data in to a program, I was
thinking about using GML2 or perhaps even a GML3 object, but it seems to
lack a read function call. Have I overlooked something ?
According to the documentation
GML2 is derrived from GML.Base,derrived from XML , OpenLayers.
Hi, I was try use a shape from geowebcache with EPSG:900913, but always
send me the shape with EPSG:4326.
this is my code:
function add_capa_own_gwc(map,etiqueta,capa,format,base,visible) {
l1 = new OpenLayers.Layer.WMS(
etiqueta,
"http://localhost:8080/geoserver/gwc
Daniel,
It is better to use Layer.Vector instead. You can style vector layers to
have icons too. If you manually add points to a Vector layer, you'd
still need to reproject yourself (IIRC).
Regards, Roald
Daniel Degasperi wrote:
> Hi,
> is there any plan to integrate the reprojection in "Marke
Hi Adrian,
When you refresh a layer (someone please correct me if I'm wrong here),
all your features (items) will be replaced with the new ones, therefore
you need to 'manually' keep track of your features. As you suggested,
you could, just before a refresh, store all features (or feature.ids)
Hi,
Yes, your proxy script it probably not in the right location. Is it in
the same directory as your example html? If not, change either the
location of your proxy script or the path pointing to it in the example.
You also need to make sure that your web server can run that script.
Good luck,
I had the same problem.
Apparently the pan move isn't firing the move's events (start,end..). It
didn't happen if you click in the arrows to move the map.
frknml wrote:
>
>
>
> Hi everyone;
>
> I have an elemantary problem.I have a google layer and on my google layer
> i'm drawing a line d
Hello, I need to insert some controls outside the div OL
map. Had success in working with the controls Feature Draw off the map.
Since the controls to zoom in, zoom out and can not zoomToContextExtent
put them off the map, someone could help me?
I try to do more or less like this:
var zoomBox
Hello,
I manage to deactivate drag and zooming events by using this code:
for (var i = 0; i< map.controls.length; i++) {
if (map.controls[i].displayClass == "olControlNavigation") {
map.controls[i].deactivate();
}
}
Hope this can be helpful.
Regards.
Un saludo,
·
On Wed, Nov 04, 2009 at 01:56:18PM +0100, Daniel Degasperi wrote:
> Hi,
> is there any plan to integrate the reprojection in "Marker"?
Nope.
-- Chris
> In this moment I've to transform my point ("EPSG:4326") manually to
> "EPSG:900913",
> create a LatLon-Object and pass it trough the constructo
Hi,
thanks for the example. But when I try to click on the map I get following
error:
Unhandled request return Not Found
I'm nearly sure this is because of my proxyhost settings. I don't know what
I'm doing wrong, but my proxyhost doesn't work. (I already downloaded the
proxy.cgi and copied it o
Hi, Daniel
there is setBaseLayer function of the OpenLayers.Map class
regards, michael
2009/11/4 Daniel Degasperi
> Hi,
> I have several baseLayers in my OpenLayers-instance and would activate
> as default the second baseLayer added.
> Is this possible?
>
> Best regards
> Daniel
>
> --
> Dani
Hi,
is there any plan to integrate the reprojection in "Marker"?
In this moment I've to transform my point ("EPSG:4326") manually to
"EPSG:900913",
create a LatLon-Object and pass it trough the constructor of the "Marker".
Example:
proj4326 = new OpenLayers.Projection("EPSG:4326");
proj90
Hi,
I have several baseLayers in my OpenLayers-instance and would activate
as default the second baseLayer added.
Is this possible?
Best regards
Daniel
--
Daniel Degasperi
Software Developer
daniel.degasp...@r3-gis.com
---
R3 GIS Srl
Via Johann Kravogl 2
I
Hello Roald,
I have a question about marking items as new - I guess they are not
marked out of the box, right?
When I do the layer refresh, I just do layer.refresh({force: true}); I'm
not sure what this does internally, but perhaps I can't count on any
attributes I set - to be preserved.
Shoul
One more addition: you can also use a GetFeature control with the new
OpenLayers.Protocol.WFS.fromWMSLayer protocol.
That's probably a cleaner way, but you'd have to find out how to add
extra paramaters like 'propertyName' and you'd still need to loop
through the attributes and show them.
Here i
Hi stash,
stash wrote:
> Hello,
> thanks for your answer. I use geoserver and therefore I could use WFS too.
> But with a WFS you get only a xml (gml) I thought and i want to display the
> featureinfo. is this possible with wfs, too?
>
> Could you show me an example of how to integrate such an wfs
Hi!
I can see that the response is gml 3 because of elements like gml:Envelope,
gml:posList,…, they belong to gml 3 specification [1].
Concerning your server configuration as I am not a MapServer user I can't
answer you, but you can specify the output format in your request url like:
'&outputfor
Roald de Wit-2 wrote:
>
> Hi,
>
> If you want more control *and* if your WMS server supports WFS (like
> MapServer and GeoServer), you could also consider sending a WFS
> GetFeature request and tell the service exactly what attributes you want
> to have returned. You can retrieve them as GM
Thanks, at least I have a refutated information. Now I know it, and the next
time I hope not to make the same mistake, but I still don't understand why two
weeks ago worked, and yesterday it didn't. Anyway, from now on I'll follow the
specifications more accuratelly. Thanks.
Un saludo,
Hello,
I want to deactivate the drag event in the following scenario. I've a tool that
selects features from a WFS server, and I want to deactivate the drag event
while you are selecting features, because if you move the mouse a bit while
trying to select a feature, the feature is not selected
Hi David,
David Alda Fernandez de Lezea wrote:
> Is there anything here that makes you know that the response of the WFS
> Service is in GML v3?
>
> How can you specify it in the map file?
>
> The getFeature request I use is this:
>
> http://192.168.1.65/cgi-bin/mapserv.exe?map=../htdocs/MFD/ejem
Hi,
If you want more control *and* if your WMS server supports WFS (like
MapServer and GeoServer), you could also consider sending a WFS
GetFeature request and tell the service exactly what attributes you want
to have returned. You can retrieve them as GML or GeoJSON for example
(or KML, etc)
Hi Adrian,
Adrian Popa wrote:
> Thank you for the hint. I suppose I shouldn't expect to see a working
> demo of what I need :)
> Do you know if the patches presented in ticket 1259 are already part
> of openlayers (since the latest version is from january last year?)
The patches in that ticket a
Barend Kobben wrote:
>
> That's probably more a question to ask the underlying WMS (in your case
> geoserver?) ; Eg. I know that when using Mapserver as a WMS, I would
> change
> the
> &INFO_FORMAT=text/plain
> To
> &INFO_FORMAT=text/html
>
> And then make sure I have HTML templates that pro
25 matches
Mail list logo