[OpenLayers-Users] Vector disappears when zooming in (sometimes)

Andreas Hocevar ahocevar at opengeo.org
Sun Nov 22 15:13:31 EST 2009


Hi,

Tommy74 wrote:
> What does "renderer runs out of coordinate space" really mean? Is 
> there a limitation in OpenLayers/VML or is this a common 
> GIS-"feature"? Can it be fixed or is it possible to do a 
> simple workaround?

The problem is that at high resolutions, when you have points that are 
too far apart, your drawing coordinates get larger than VML can handle.

> The vector data is not a static file, but is created as GeoJSON on the 
> server in my real application, but that's a custom geojson generator, 
> not a WFS or FeatureServer.

So maybe you could give your custom geojson generator a bbox filter?

> Unfortunately there is no time to change the type of datasource at the 
> moment. The goal is to serve the data from WMS instead (in a later 
> version), since its a lot of data. The example that I linked to is a 
> reduced geometry.

Yeah, WMS would be a good solution in that case.

Regards,
Andreas.


-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Users mailing list