[OpenLayers-Users] conversion of geoserver request from wms to wfs

Tara tara_athan at alt2is.com
Wed Dec 12 20:57:09 EST 2007


OK, I tried that. The only thing that changes is the error message
"div has no properties"
and the overviewmap does not appear.


Christopher Schmidt-4 wrote:
> 
> On Wed, Dec 12, 2007 at 05:32:43PM -0800, Tara wrote:
>> 
>> I have created a test geoserver datastore (PostGIS) which seems to be
>> working
>> correctly as a wms layer (although I set it up as wfs?).
>> I copied the openlayers script from the geoserver demo to here:
>> http://alt2is.com/pages_html/openlayers/occurrences_wms.html
>> 
>> But I really want to use it as a wfs layer over a basemap, so I tried to
>> tweak the map that was working,
>> using the wfs example from the openlayers/example page. That's here:
>> http://alt2is.com/pages_html/openlayers/occurrences_wfs.html
>> I get only the baselayer, not the overlay. 
>> Firebug says "the bounds has no properties".
>> To explore that error further, I took out the wfs request altogether,
>> here:
>> http://alt2is.com/pages_html/openlayers/google_potter.html
>> and the "the bounds has no properties" is still appearing.
>> But the map is displaying the correct bounds...
>> 
>> I am really confused now.
> 
> Try calling zoomToExtent before adding the overviewmap control.
> 
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://www.nabble.com/conversion-of-geoserver-request-from-wms-to-wfs-tp14308047p14308333.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list