Re: [mapserver-users] Fwd: Tools for automatically generate mapfiles
Hi Daniel, Thank you very much for the information, I hope news about this project. Best Regards 2013/5/8 Daniel Morissette dmorisse...@mapgears.com Hi Luis, For your information we (Mapgears) have worked internally on a web-based GUI to edit and maintain mapfiles called ScribeUI. This tool allows editing mapfiles in three different syntax: - regular/raw mapfile syntax - basemaps generate_style.py syntax (https://github.com/mapserver/** basemaps https://github.com/mapserver/basemaps) - and Scribe syntax (http://www.mapgears.com/en/** blog/archive/2013-03-12-scribehttp://www.mapgears.com/en/blog/archive/2013-03-12-scribe **) Unfortunately it is still an internal tool and needs some work before we can publish it. However, a student has submitted a Google Summer of Code (GSoC) proposal to take this internal project, polish and finish it, test and package it and make it available as an open source component to the MapServer community. The GSoC proposals are currently being evaluated, and the final decision date is May 27. If the project is selected the you can expect some news on this list about the plans in early June. The goal is to make this a collaborative project in order to help make it more sustainable in the long run, so contributors such as you would be much welcome. Best Regards Daniel On 13-05-08 11:55 AM, Luis Mejia wrote: Hello all, I'm newbie in this mailing list and I'm interested to know what tools automatically generate mapfiles. So far, only I know two, gvSIG and Quantum GIS. anyone knows other? anyone knows some web site? I am interested in develop a web site for automatically generate mapfiles. it's something similiar to online css's code generators Thanks in advance PD: Excuse me my poor english. -- Luis Miguel Mejía Martínez Estudiante Ing. de Sistemas Universidad de Cartagena __**_ mapserver-users mailing list mapserver-users@lists.osgeo.**org mapserver-users@lists.osgeo.org http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://lists.osgeo.org/mailman/listinfo/mapserver-users -- Daniel Morissette http://www.mapgears.com/ Provider of Professional MapServer Support since 2000 __**_ mapserver-users mailing list mapserver-users@lists.osgeo.**org mapserver-users@lists.osgeo.org http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://lists.osgeo.org/mailman/listinfo/mapserver-users -- **Luis Miguel Mejía Martínez Estudiante Ing. de Sistemas ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] [TinyOWS] Unable to open config file
Sorry for boring you, someone can help me with this problem? On 3 May 2013 14:49, Luca Delucchi lucadel...@gmail.com wrote: Hi everybody, I'm just starting to play with TinyOWS for WFS-T. I installed TinyOWS on a ubuntu server and I'm using mapfile to configure TinyOWS. If I run ./tinyows --check from command line it work well TinyOWS version: 1.0.0 administrator@webcrev3:/usr/lib/cgi-bin$ TinyOWS version: 1.0.0 PostGIS Version: 2.0.1 PostGIS dsn: dbname='gis_os' host=10.100.113.5 port=5432 user='sde' password='sde' sslmode=disable Output Encoding: UTF-8 Database Encoding: UTF8 Schema dir:/usr/share/tinyows/schema Display bbox: Yes Estimated extent: No Check schema: Yes Check valid geoms: Yes Available layers: - public.sitiwgs84 (4326) - .sitiwgs84 [RW] but when I try from web browser it doesn't work and return Unable to open config file Do you have any advice to help me? Thanks -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Is there still a 2GB size limit on shapefiles?
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 -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2013-05-09 2:39 AM, Roger André wrote: Very interesting to know this. Thank you all for the feedback. I did use the OGR connector and it worked fine, but I assumed the native reader was faster. On May 8, 2013 9:53 PM, Stephen Woodbridge wood...@swoodbridge.com mailto:wood...@swoodbridge.com wrote: In general the shapefile spec is owned by ERSI and unless they change the spec you will have a problem. Last I knew, there are pointers/offsets inside the shapefile that are only 32bits wide per the spec. it is because of these that you are limited to 2GB. At some point I thought Frank W or someone was working on a version of shapelib that could support greater than 2GB, but only programs that used that version would be able to read/write these larger files. I have not heard anything on that front in a while so I don't know if that was just talk, or code ever materialized. -Steve W On 5/9/2013 12:32 AM, Rahkonen Jukka wrote: Hi, I am not sure either if reading 2GB shapefiles works with the native shp reader on all platforms, but as the ticket says, you should be able to use OGR connection in the mapfile even with your current version. If you use OGR you can also split the shapefile into pieces and read them through the ogr tileindex system which may be faster sometimes. -Jukka Rahkonen- __ Andrea Peri wrote: If it don't work you should evalute the option to use spatialite. It work well with dataset greater than 2GB . I use it with mapserver 6.3dev and gdal 1.10. 2013/5/9 Roger André ran...@gmail.com mailto:ran...@gmail.commailto:randr...@gmail.com mailto:ran...@gmail.com Pretty sure I just hit thishttp://trac.osgeo.org/__mapserver/ticket/3514 http://trac.osgeo.org/mapserver/ticket/3514 problem in my 6.0.3 local stack. I haven't tested it in the current release, but does anyone know for sure that a shapefile with any component larger than 2GB works in 6.2? Roger ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Is there still a 2GB size limit on shapefiles?
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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Is there still a 2GB size limit on shapefiles?
Folks, The changes I made were mostly focused on supporting large DBF files which don't have the 32bit offsets issue. The offsets for shapefiles are actually to 16bit words, so in theory if the offsets were treated as unsigned 32bit values they could address up to 8GB .shp files. I don't recall however, if I ever got that working. Even if it was done it is not clear to me these files would work smoothly with other applications. I'd been hoping someone else might have authoritative comment in this thread. :-) Best regards, Frank On Wed, May 8, 2013 at 9:49 PM, Stephen Woodbridge wood...@swoodbridge.comwrote: In general the shapefile spec is owned by ERSI and unless they change the spec you will have a problem. Last I knew, there are pointers/offsets inside the shapefile that are only 32bits wide per the spec. it is because of these that you are limited to 2GB. At some point I thought Frank W or someone was working on a version of shapelib that could support greater than 2GB, but only programs that used that version would be able to read/write these larger files. I have not heard anything on that front in a while so I don't know if that was just talk, or code ever materialized. -Steve W On 5/9/2013 12:32 AM, Rahkonen Jukka wrote: Hi, I am not sure either if reading 2GB shapefiles works with the native shp reader on all platforms, but as the ticket says, you should be able to use OGR connection in the mapfile even with your current version. If you use OGR you can also split the shapefile into pieces and read them through the ogr tileindex system which may be faster sometimes. -Jukka Rahkonen- __**__ Andrea Peri wrote: If it don't work you should evalute the option to use spatialite. It work well with dataset greater than 2GB . I use it with mapserver 6.3dev and gdal 1.10. 2013/5/9 Roger André ran...@gmail.commailto:randr**e...@gmail.comran...@gmail.com Pretty sure I just hit thishttp://trac.osgeo.org/**mapserver/ticket/3514http://trac.osgeo.org/mapserver/ticket/3514 problem in my 6.0.3 local stack. I haven't tested it in the current release, but does anyone know for sure that a shapefile with any component larger than 2GB works in 6.2? Roger __**_ mapserver-users mailing list mapserver-users@lists.osgeo.**org mapserver-users@lists.osgeo.org mailto:mapserver-users@**lists.osgeo.orgmapserver-users@lists.osgeo.org http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://lists.osgeo.org/mailman/listinfo/mapserver-users -- - Andrea Peri . . . . . . . . . qwerty àèìòù - __**_ mapserver-users mailing list mapserver-users@lists.osgeo.**orgmapserver-users@lists.osgeo.org http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://lists.osgeo.org/mailman/listinfo/mapserver-users __**_ mapserver-users mailing list mapserver-users@lists.osgeo.**org mapserver-users@lists.osgeo.org http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://lists.osgeo.org/mailman/listinfo/mapserver-users -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush| Geospatial Software Developer ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Is there still a 2GB size limit on shapefiles?
I think it would be interesting to see how/if ESRI responded to a change in shapelib that allow it to detect standard files or large files and allow application built on it to work with both. If enough FOSS application supported that then ESRI might be forced to deal with it or have a lot of clients with files that they can not read. From my usage, I almost always have a problem with the DBF getting too large mostly because of a lot of attribute columns. A lot of my data processing script have an option to split the output into numbered parts like: file-01.* file-02.* etc and then I use a tileindex to reassemble the parts in mapserver or ogr. If would be nice if we didn't have to worry about this and could just make large files. Personally, shapefiles are a convenient and fast format to work with and only on rare occasions do I have to deal with an ESRI client. Since I have a work around for them, that is not a problem. -Steve W On 5/9/2013 1:35 PM, Frank Warmerdam wrote: Folks, The changes I made were mostly focused on supporting large DBF files which don't have the 32bit offsets issue. The offsets for shapefiles are actually to 16bit words, so in theory if the offsets were treated as unsigned 32bit values they could address up to 8GB .shp files. I don't recall however, if I ever got that working. Even if it was done it is not clear to me these files would work smoothly with other applications. I'd been hoping someone else might have authoritative comment in this thread. :-) Best regards, Frank On Wed, May 8, 2013 at 9:49 PM, Stephen Woodbridge wood...@swoodbridge.com mailto:wood...@swoodbridge.com wrote: In general the shapefile spec is owned by ERSI and unless they change the spec you will have a problem. Last I knew, there are pointers/offsets inside the shapefile that are only 32bits wide per the spec. it is because of these that you are limited to 2GB. At some point I thought Frank W or someone was working on a version of shapelib that could support greater than 2GB, but only programs that used that version would be able to read/write these larger files. I have not heard anything on that front in a while so I don't know if that was just talk, or code ever materialized. -Steve W On 5/9/2013 12:32 AM, Rahkonen Jukka wrote: Hi, I am not sure either if reading 2GB shapefiles works with the native shp reader on all platforms, but as the ticket says, you should be able to use OGR connection in the mapfile even with your current version. If you use OGR you can also split the shapefile into pieces and read them through the ogr tileindex system which may be faster sometimes. -Jukka Rahkonen- __ Andrea Peri wrote: If it don't work you should evalute the option to use spatialite. It work well with dataset greater than 2GB . I use it with mapserver 6.3dev and gdal 1.10. 2013/5/9 Roger André ran...@gmail.com mailto:ran...@gmail.commailto:randr...@gmail.com mailto:ran...@gmail.com Pretty sure I just hit thishttp://trac.osgeo.org/__mapserver/ticket/3514 http://trac.osgeo.org/mapserver/ticket/3514 problem in my 6.0.3 local stack. I haven't tested it in the current release, but does anyone know for sure that a shapefile with any component larger than 2GB works in 6.2? Roger _ mapserver-users mailing list mapserver-users@lists.osgeo.__org mailto:mapserver-users@lists.osgeo.orgmailto:mapserver-users@__lists.osgeo.org mailto:mapserver-users@lists.osgeo.org http://lists.osgeo.org/__mailman/listinfo/mapserver-__users http://lists.osgeo.org/mailman/listinfo/mapserver-users -- - Andrea Peri . . . . . . . . . qwerty àèìòù - _ mapserver-users mailing list mapserver-users@lists.osgeo.__org mailto:mapserver-users@lists.osgeo.org http://lists.osgeo.org/__mailman/listinfo/mapserver-__users http://lists.osgeo.org/mailman/listinfo/mapserver-users _ mapserver-users mailing list mapserver-users@lists.osgeo.__org mailto:mapserver-users@lists.osgeo.org http://lists.osgeo.org/__mailman/listinfo/mapserver-__users http://lists.osgeo.org/mailman/listinfo/mapserver-users -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com mailto:warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam http://pobox.com/%7Ewarmerdam and watch the world go round - Rush| Geospatial Software