If anyone´s interested in the almost final results, here you go:
http://141.13.60.18:8080/geoserver/www/wfs-test5.htm
http://141.13.60.18:8080/geoserver/www/wfs-test5.htm . It´s the product of a
project at my university where we mapped all letter-boxes, stamp-automates,
parcel-stations and phoneb
Hey,
I was successfull getting it to work via GML. It now looks like this:
function setHTML(response){
var gmlparser = new OpenLayers.Format.GML();
var features =
gmlparser.read(response.responseText);
Hey,
no problem. But if you´re using Format.GML and more familiar with this:
Isn´t it also possible to realize my document with that? I don´t have to use
XML but that´s the only method I was able to get a logical output of. As I
said I´ve been looking through the GML-Parser-Example but I don´t un
Hi,
im sorry i also dont know so much about Format.XML methods, i mostly
use Format.GML or JSON
but this should help:
http://openlayers.org/dev/examples/xml.html
http://dev.openlayers.org/docs/files/OpenLayers/Format/XML-js.html
Cheers,
On Wed, Feb 4, 2009 at 1:24 PM, Max Stephan wrote:
>
> Hey
Hey Ivan,
Yes, I checked out this your link. But I don´t have success in transferring
it to my own document. Here is what I got yet:
=> I perform a GetFeatureInfo-Request on
"http://localhost:8080/geoserver/wms"; with INFO_FORMAT:
'application/vnd.ogc.gml'.
=> this is done via
OpenLayers.loadU
Hi, did you check out http://openlayers.org/dev/examples/GMLParser.html
Function load takes ur xml data (which can be getFeatureInfo), and
gives it to parseData function, which parses all the features and
their attributes...its all you need ;)
And i suggest to make it in JSON format, its much ligh
Ok, that sounds like an idea.
I´ve been reading a bit more about JavaScript-development in general. So I
developed the following change in the setHTML-function that allows me to
show a picture when the function is executed.
>>>
function setHTML(response){
var img = document.createElement("img
Max,
in general you need to define your output format which comes back from
Geoserver as text or Xml or whatever - then you may parse the backcoming
stuff and put the URL in an html image tag - basically you can see what to
do regarding the OL featureinfo example::
you must do alter it at the pla
Hi, you might check this out:
http://openlayers.org/dev/examples/GMLParser.html
(make an getFeatureInfo in GML format by changing
info_format=application/vnd.ogc.gml, and then parse it with
Format.GML)
Cheers
On Tue, Feb 3, 2009 at 11:10 AM, Max Stephan wrote:
> Hey everybody!
>
> I got a shape
Hey everybody!
I got a shapefile here which I added to my geoserver. I have integrated it
as a layer in an openlayers map container. In the attributes of the
layer/shapefile is a field which contains an URL to a pic of each feature
(in this case the features are points). Now I want this picture to
10 matches
Mail list logo