[mapserver-users] Is there still a 2GB size limit on shapefiles?
Jeff McKenna
jmckenna at gatewaygeomatics.com
Thu May 9 05:47:36 PDT 2013
Very very offtopic, but it may help someone else someday...
Using CONNECTIONTYPE OGR for shapefile connections is a power user trick
that comes in handy more times than you think. During my Advanced
MapServer workshop at FOSS4G-BA, we tackled international character
labeling ("international" not for them, for local users there if they
want labeling in Spanish some characters will cause grief), and the
quick solution for labeling was: make sure the mapfile is saved as UTF8
encoding [especially if you plan to refer to special characters in
EXPRESSIONs), and then make sure for the LAYER to set CONNECTIONTYPE
OGR. Bingo, that easy. (attendees saw me sweat for a few minutes, but
this trick saved me)
So keep that in your back pocket always.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 2013-05-09 9:30 AM, Jeff McKenna wrote:
> Hi Roger,
>
> It would be great if you could make available your test shp, possibly
> point to it [or upload it to a shared OSGeo server] and your tiny
> mapfile directly in a comment in the ticket (
> https://github.com/mapserver/mapserver/issues/3514). Once you do that
> I'll test your mapfile with master/trunk.
>
> Thanks,
>
> -jeff
>
>
More information about the MapServer-users
mailing list