dear Andreas, thanks for answering.
you said: "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." No, that's not what I want. I just wanna (if it's possible) do a query (typical "info" tool that sends a WMS GetFeatureInfo request to Geoserver-->postGIS) to any kind of layer and get (and then filter using XSLT) the GML without the geometry field, to increase the response time. I'm using mapbuilder 1.5 rc1 and geoserver. I think that I want to get is not possible; maybe the best solution is GeoJSON; it also loads the_geom but people say it's faster, isn't it? thanks, Pere 2008/2/6, Andreas Hocevar <[EMAIL PROTECTED]>: > 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
