Tiger Shapefile tiling problem

Jeff Portwine jdport at VERITIME.COM
Thu Mar 17 09:15:22 EST 2005


My data_dir.in file looks like this:

c:\tiger\all\CT_Fairfield_County
c:\tiger\all\CT_Fairfield_County_Poly
c:\tiger\all\CT_Hartford_County
c:\tiger\all\CT_Hartford_County_Poly
c:\tiger\all\CT_Litchfield_County
c:\tiger\all\CT_Litchfield_County_Poly
c:\tiger\all\CT_Middlesex_County
c:\tiger\all\CT_Middlesex_County_Poly
...
...

I tried appending .shp to the ends of the files, but that gave me the second
set of errors.
I'll try compiling the utilities and see if i can get a debian binary for
tile4ms.

Thanks,
Jeff


----- Original Message -----
From: "Stephen Woodbridge" <woodbri at swoodbridge.com>
To: "Jeff Portwine" <jdport at VERITIME.COM>
Cc: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Thursday, March 17, 2005 9:11 AM
Subject: Re: [UMN_MAPSERVER-USERS] Tiger Shapefile tiling problem


> Jeff,
>
> I use Debian also, and I just downloaded the tarbar and built mapserver in
> my local directory and copied the utilities to ~/bin
>
> If you create the tileindex on windows you may not be able to use it on
> Linux as the path names may be different.
>
> Also as for your file list, it should NOT have the "file:" on the front
> and I would create the paths with a "/" instead of "\" and I would leave
> the "C:" if this is your default drive. Does it work with the ".shp" on
> the file names? if it does then just include them.
>
> -Steve
>
> Jeff Portwine wrote:
>> I wanted to create a single layer for several states worth of Tiger
>> shapefiles, and I remembered a thread a few weeks ago about using tiles
>> to
>> accomplish this.   I tried to follow the advice given then but I am
>> having a
>> few problems.   First of all, i'm running mapserver with a debian install
>> and it seems that this install did not include tile4ms.   However, I had
>> previously installed mapserver under windows xp and I found that I do
>> have
>> the windows binary for this utility so that's what I tried to use.
>>
>> I used the command:
>> tile4ms data_dir.in tiger-roads
>> where "data_dir.in" was a list of all the tiger .shp files with the full
>> path to those files.
>> If my file list does not include file extensions,  I get an error that
>> looks
>> like this:
>>
>> Aborted. Unable to open DBF:c:\tiger\all\CT_Fairfield_County
>> Processed 0 of 1 files
>>
>> If the file list includes either the extension .shp or .dbf, I get the
>> following errors:
>> Aborted. DBF fields do not match for
>> file:c:\tiger\all\VT_Orleans_County_Poly.shp
>> Aborted. DBF fields do not match for
>> file:c:\tiger\all\VT_Rutland_County_Poly.shp
>> Aborted. DBF fields do not match for
>> file:c:\tiger\all\VT_Washington_County_Poly.shp
>> Aborted. DBF fields do not match for
>> file:c:\tiger\all\VT_Windham_County_Poly.shp.....
>>
>>
>> Can anybody tell me what I'm doing wrong and how to properly use the
>> tile4ms
>> utility?
>>
>> Thanks,
>> Jeff
>>
>
>



More information about the mapserver-users mailing list