Hi everyone!

I'm studying about Application Schema. I Just tried the tutorial available
in Geoserver docs (
http://docs.geoserver.org/stable/en/user/data/app-schema/tutorial.html) and
now I have a question:

Is it possible to show the complex features as a Vector Layer, using
OpenLayers?

I tried this:

    var wfs = new OpenLayers.Layer.Vector("MappedFeature", {

        strategies: [new OpenLayers.Strategy.BBOX()],

        protocol: new OpenLayers.Protocol.WFS({

            url: "http://localhost:8080/geoserver/wfs";,

            featureType: "MappedFeature",

            featureNS: "urn:cgi:xmlns:CGI:GeoSciML:2.0"

        })

    });



But, I couldn't see anything in result...

I don't know even if I should ask this in Geoserver list or in openlayers
list, but I'm trying with both...

Requesting the examples with WFS works fine... so, I don't know if I got the
ideia about the App Schema.

Thanks!

Rodrigo C. Antonialli
======================================
Rio Claro - SP - Brasil
LinkedIn: http://www.linkedin.com/in/rcaprofile
Contato:  (19) 9792-9820
              [email protected]
              [email protected]
              Skype: rc_antonialli
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to