tileindexed layer crashing...
Ed McNierney
ed at TOPOZONE.COM
Fri Mar 18 07:59:56 PST 2005
Jeff -
It's certainly a good idea to do early-stage development on a
non-production machine; I'm sorry you got there the hard way, but it's
good to be there <g>.
First, some nit-picking. I presume you did something first to create a
"data_dir.in" file, right? And there's a space between xargs and "-n",
correct? The latter shouldn't make much difference.
Does your tiger-roads shapefile look OK? Do the filesizes look
plausible? Can you view it in a GIS application (it's just a regular
shapefile)?
As a diagnostic step, I'd suggest changing TILEINDEX to DATA in your
LAYER definition, and the TYPE to POLYGON. The tile index is a polygon
shapefile with a bunch of rectangles, each describing the bounding box
of one input file. Use this technique to see if the tile index file
itself looks reasonable. If it does, then your problem's likely to be
with your TIGER data - otherwise, the TILEINDEX file needs fixing.
- Ed
Ed McNierney
TopoZone.com
________________________________
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Jeff Portwine
Sent: Friday, March 18, 2005 10:41 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] tileindexed layer crashing...
This morning I tried to add a tileindexed layer to my mapfile. After
adding it and trying to view my mapfile, apache ran away with all the
systems memory until it crashed. I have no idea what I did wrong...
I downloaded all of the tiger2004 shapefiles and unzipped them into a
single directory.
In that directory, I did:
tile4ms data_dir.in tiger-roads
shptree tiger-roads
cat data_dir.in | xargs-n 1 shptree
I added this layer:
LAYER
NAME tiger_streets
STATUS off
TYPE line
TILEINDEX tiger-roads
PROJECTION
"proj=latlong"
END
CLASSITEM "CFCC"
CLASS
NAME "Interstate"
EXPRESSION ([CFCC]=A15)
COLOR 200 0 0
SYMBOL 'interstate'
END
END
When I tried to view the map it blew up. The server I was using
happened to also be our mailserver... so causing this machine to go
unstable and require a reboot is a very bad thing and thus i'm being
forced to move my mapserver work to another server. I've been googling
all morning but I can't seem to find the debian package for mapserver
4.4.1 again... anybody know where I can find that? I wish I could
remember where I got it last time.
Thanks,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050318/212ba842/attachment.htm>
More information about the MapServer-users
mailing list