Hi, On Tue, Feb 5, 2008 at 7:02 PM, pere roca <[EMAIL PROTECTED]> wrote: > maybe sounds stupid, but it's possible to avoid loading <the_geom> info > from a GML coming from a GetFeatureInfo request? now if I have a countries > layer and just want to visualize the country Name I have to GET > (getfeatureinfo) all the GML (including all the_geom) and then filter > (XSLT). And it takes too much time.
You can have a FeatureCollection model without connecting a GmlRendererOL to it, so you can use a simple XSL to just create HTML. I hope I understood your question right and this is what you want to do. > do I have to digg in AJAX (connecting to postGIS database using the coords > coming from mapPane) to get only this information? This depends on your WFS implementation. You can probably specify the fields you want to return for some implementations (I think UMN Mapserver can do this). On the other hand, if you use Geoserver, you can use GeoJSON as return format. In that case, you would have to write a custom widget to create HTML from that instead of using an XSL-based widget. Regards, Andreas. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
