[mapserver-users] TIGER data Mapfile update.
Basques, Bob (CI-StPaul)
bob.basques at ci.stpaul.mn.us
Fri Feb 9 07:56:18 PST 2018
As requested:
GitHub here:
https://gist.github.com/bblammo/a526d34a7bda4fdffc44260c0477840c#file-centerlines-map
I’ll add in some screenshots too.
bobb
On Jan 8, 2018, at 3:53 PM, Dan Little <theduckylittle at gmail.com<mailto:theduckylittle at gmail.com>> wrote:
Hey Bob,
Is there any chance you can start a GitHub repo with an appropriate license and maybe some screenshots for this? It's hard to use dropbox as a collaboration platform...
Cheers,
-Duck
On Mon, Jan 8, 2018 at 1:39 PM, Basques, Bob (CI-StPaul) <bob.basques at ci.stpaul.mn.us<mailto:bob.basques at ci.stpaul.mn.us>> wrote:
Tp whom it may concern . . .
I’ve recently been optimzing some MapServer layer MapFiles in our system for TIGER based centerline data to take advantage of the newer capabilities of MapServer. The MapFile I’ve been working on recently was just over 10 years old!! Anyway, lot’s of new stuff for optimizing the Mapfile and I wanted to pass the results by the list to see if there is anything I may have missed.
For long time list users, you may remember my post in the past about setting up a “googlish” type layer style for MapServer way back when. This is my refactoring of that MapFile to the new look and feel of the Google style(s).
This mapfile has mutiple CLASSes with many STYLE settings per CLASS. So it ens up a bit complicated.
I’ve also switch all data sourcing over from SHP file to Postgres/PostGIS as well as consolidating the all the DATA connection calls into a single call. While the old file ran very fast, this one comes back almost instantly now, even for very large images.
Here are a couple of fragments of the MAPFILE that I’ve currently set up, and just looking for thoughts on improving it even more.
Sample output is here:
https://www.dropbox.com/s/epdzrod6yvg7143/centerlines_stpaul_public.2.map?dl=0
and the fragment below is for the Interstate roads, darker yellow color and Hwy Shields..
Thanks
bobb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20180209/63a64617/attachment.htm>
More information about the MapServer-users
mailing list