OGR virtual spatial data

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Wed Sep 7 19:13:53 EDT 2005


Hi,

I have a MySQL table which I'm connecting to via OGR's virtual spatial
data option and unixODBC.  The table has ~ 2 million records with x and
y columns.  I have setup an .ovf and mapfile accordingly.

When I run shp2img, CPU usage spikes up to 100% and then a core dump
results.  I am running shp2img with an extent which will result in far
less records.

Any idea what's going on here?  Are all the records being fetched BEFORE
the spatial filtering by shp2img?

Thanks

..Tom

=========================
Tom Kralidis
Senior Systems Scientist
Environment Canada
Tel: +01-905-336-4409
http://www.ec.gc.ca/



More information about the mapserver-users mailing list