Missing Data

6 messages Options
Embed this post
Permalink
Monali Lodha

Missing Data

Reply Threaded More More options
Print post
Permalink
Hi,

I am using TIGERLine Data (2009) with Mapserver. I am using the state
files to render the counties in a given state.
However, not all counties are rendered (only 18 out of 24 are
displayed). Does this need to be addressed in the mapfile?

Thanks!

Monali
_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Stephen Woodbridge

Re: Missing Data

Reply Threaded More More options
Print post
Permalink
Monali Lodha wrote:
> Hi,
>
> I am using TIGERLine Data (2009) with Mapserver. I am using the state
> files to render the counties in a given state.
> However, not all counties are rendered (only 18 out of 24 are
> displayed). Does this need to be addressed in the mapfile?

What does your mapfile look like?
What state are you using?
What TIGER file did you download?

Thanks,
   -Steve W
_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Monali Lodha

Re: Missing Data

Reply Threaded More More options
Print post
Permalink
Here is the mapfile:

MAP
NAME "Maryland"
UNITS dd
SIZE 640 480
IMAGECOLOR 255 255 255
IMAGETYPE gif
SHAPEPATH "C:/ms4w/apps/prj/data/24_MARYLAND/"
EXTENT -79.487651 37.886605 -74.986282 39.723037

WEB
        TEMPLATE 'C:/ms4w/apps/prj/htdocs/home.html'
        IMAGEPATH 'C:/ms4w/Apache/htdocs/tmp/'
        IMAGEURL '/tmp/'
END

LAYER
    NAME "state"
    DATA "tl_2009_24_state"
    STATUS on
    TYPE line
    CLASS
        STYLE
            OUTLINECOLOR  0 0 0
        END
    END
END

LAYER
    NAME "counties"
    DATA "tl_2009_24_county"
    STATUS on
    TYPE line
    LABELITEM 'NAME'
    CLASS
        NAME "Counties"
        STYLE
            COLOR 212 192 100
        END
        LABEL
            COLOR 0 0 0
            SIZE small
        END
    END
END

END

I am using the data for Maryland, downloaded from
ftp://ftp2.census.gov/geo/tiger/TIGER2009/24_MARYLAND/
For displaying the counties, we use tl_2009_24_county.* files.

Thanks!

Monali

On Wed, Nov 4, 2009 at 3:29 PM, Stephen Woodbridge
<[hidden email]> wrote:

> Monali Lodha wrote:
>>
>> Hi,
>>
>> I am using TIGERLine Data (2009) with Mapserver. I am using the state
>> files to render the counties in a given state.
>> However, not all counties are rendered (only 18 out of 24 are
>> displayed). Does this need to be addressed in the mapfile?
>
> What does your mapfile look like?
> What state are you using?
> What TIGER file did you download?
>
> Thanks,
>  -Steve W
>
_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Jeff McKenna

Re: Missing Data

Reply Threaded More More options
Print post
Permalink
Monali Lodha wrote:

> Here is the mapfile:
>
> MAP
> NAME "Maryland"
> UNITS dd
> SIZE 640 480
> IMAGECOLOR 255 255 255
> IMAGETYPE gif
> SHAPEPATH "C:/ms4w/apps/prj/data/24_MARYLAND/"
> EXTENT -79.487651 37.886605 -74.986282 39.723037
>
> WEB
> TEMPLATE 'C:/ms4w/apps/prj/htdocs/home.html'
> IMAGEPATH 'C:/ms4w/Apache/htdocs/tmp/'
> IMAGEURL '/tmp/'
> END
>
> LAYER
>     NAME "state"
>     DATA "tl_2009_24_state"
>     STATUS on
>     TYPE line
>     CLASS
>         STYLE
>             OUTLINECOLOR  0 0 0
>         END
>     END
> END
>
> LAYER
>     NAME "counties"
>     DATA "tl_2009_24_county"
>     STATUS on
>     TYPE line
>     LABELITEM 'NAME'
>     CLASS
>         NAME "Counties"
>         STYLE
>             COLOR 212 192 100
>         END
>         LABEL
>             COLOR 0 0 0
>             SIZE small
>         END
>     END
> END
>
> END
>
> I am using the data for Maryland, downloaded from
> ftp://ftp2.census.gov/geo/tiger/TIGER2009/24_MARYLAND/
> For displaying the counties, we use tl_2009_24_county.* files.
>
> Thanks!
>
> Monali

You might want to check out the WMS Benchmarking mapfile, which uses
TIGER2008 data for the state of Texas, tiled by county
(http://svn.osgeo.org/osgeo/foss4g/benchmarking/mapserver/shapefile-county.map).
  You can download the data used in that mapfile at:
http://wiki.osgeo.org/wiki/Benchmarking_2009#Download

Also, an older but still good example can be found on the tile4ms
documentation page: http://www.mapserver.org/utilities/tile4ms.html

Hope that helps.

-jeff

--
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/


_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Monali Lodha

Re: Missing Data

Reply Threaded More More options
Print post
Permalink
Thanks Jeff! That did help..

On Wed, Nov 4, 2009 at 6:42 PM, Jeff McKenna
<[hidden email]> wrote:

> Monali Lodha wrote:
>>
>> Here is the mapfile:
>>
>> MAP
>> NAME "Maryland"
>> UNITS dd
>> SIZE 640 480
>> IMAGECOLOR 255 255 255
>> IMAGETYPE gif
>> SHAPEPATH "C:/ms4w/apps/prj/data/24_MARYLAND/"
>> EXTENT -79.487651 37.886605 -74.986282 39.723037
>>
>> WEB
>>        TEMPLATE 'C:/ms4w/apps/prj/htdocs/home.html'
>>        IMAGEPATH 'C:/ms4w/Apache/htdocs/tmp/'
>>        IMAGEURL '/tmp/'
>> END
>>
>> LAYER
>>    NAME "state"
>>    DATA "tl_2009_24_state"
>>    STATUS on
>>    TYPE line
>>    CLASS
>>        STYLE
>>            OUTLINECOLOR  0 0 0
>>        END
>>    END
>> END
>>
>> LAYER
>>    NAME "counties"
>>    DATA "tl_2009_24_county"
>>    STATUS on
>>    TYPE line
>>    LABELITEM 'NAME'
>>    CLASS
>>        NAME "Counties"
>>        STYLE
>>            COLOR 212 192 100
>>        END
>>        LABEL
>>            COLOR 0 0 0
>>            SIZE small
>>        END
>>    END
>> END
>>
>> END
>>
>> I am using the data for Maryland, downloaded from
>> ftp://ftp2.census.gov/geo/tiger/TIGER2009/24_MARYLAND/
>> For displaying the counties, we use tl_2009_24_county.* files.
>>
>> Thanks!
>>
>> Monali
>
> You might want to check out the WMS Benchmarking mapfile, which uses
> TIGER2008 data for the state of Texas, tiled by county
> (http://svn.osgeo.org/osgeo/foss4g/benchmarking/mapserver/shapefile-county.map).
>  You can download the data used in that mapfile at:
> http://wiki.osgeo.org/wiki/Benchmarking_2009#Download
>
> Also, an older but still good example can be found on the tile4ms
> documentation page: http://www.mapserver.org/utilities/tile4ms.html
>
> Hope that helps.
>
> -jeff
>
> --
> Jeff McKenna
> FOSS4G Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
> _______________________________________________
> mapserver-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



--
Monali
_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Monali Lodha

Re: Missing Data

Reply Threaded More More options
Print post
Permalink
In reply to this post by Monali Lodha
Figured out. The FORCE keyword for the label needed to be set to true
to display interfering labels.

Thanks for all the help!

Monali

On Wed, Nov 4, 2009 at 2:39 PM, Monali Lodha <[hidden email]> wrote:

> Hi,
>
> I am using TIGERLine Data (2009) with Mapserver. I am using the state
> files to render the counties in a given state.
> However, not all counties are rendered (only 18 out of 24 are
> displayed). Does this need to be addressed in the mapfile?
>
> Thanks!
>
> Monali
>
_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users