[mapserver-users] seamless data
hello As far as I know, one of the objectives of mapserver is seamless data transfer. Can anyone can tell me what "seamless" means in terms of WebGIS ? regards -- Ahmet Temiz Jeoloji Müh. Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] PostGIS installation
T, 21 dets 2010 kirjutas qazi iqbal : ./configure --with-postgres=/path I think this is wrong. Try --with-pgconfig=/path/to/pg_config -- Toomas Aas ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] PostGIS installation
I am in process of setting up mapserver on virtual server that comes with postgres installed. Almost I have installed everything before going for mapserver installation. Now I need to install PostGIS. I tried to configure it with ./configure --with-postgres=/path but it gives me error that pg_config not found. Can anyone help me Thanks Qazi ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] OGR data layer type - points and lines
It took 4 whole days, but thanks to Sandro, Spatialite now has a MakeLine() function. http://groups.google.com/group/spatialite-users/browse_thread/thread/20f8e907ae9226 The feature is in SVN, I am not sure if it will make it into the pending 2.4.0 release. I am also not sure how the OGR driver works and if it can accept geometries created on-the-fly, or if they need to come from a geometry column. David. -Original Message- From: Fawcett, David (MPCA) Sent: Friday, December 17, 2010 10:23 AM To: 'Stephen Woodbridge'; Ian Walberg Cc: mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] OGR data layer type - points and lines Ian, I thought that there was a pretty simple answer to this, but it seems as though I have imagined some non-existing functionality. Assuming that you have a Spatialite db containing a point data set, and you have a MapServer layer that draws this, I think that I have a solution for you. (This also assumes that OGR supports reading linestrings from Spatialite). PostGIS has the ST_MakeLine() function that allows you to create linestrings out of point geometries. The current version of Spatialite doesn't have anything like this (although since I have mentioned it on the Spatialite list, it could be there soon...) So, this SQL employs some workarounds, but may work: SELECT LineFromText('LINESTRING(' || group_concat(X(geometry) || ' ' || Y(geometry), ',') || ')') FROM datapoints ORDER BY fix_date; If performance is a problem, I would build a Spatialite line dataset and rebuild it every time your point dataset changes. David. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Duca enviou-lhe o seguinte abaixo-assinado.
Title: Ajude a divulgar o Abaixo-assinado Meus Amigos, Acabei de ler e assinar este abaixo-assinado online: «contra o aumento nos salários do presidente da República, ministros e parlamentares. Dezembro/2010» http://www.peticaopublica.com.br/?pi=P2010N4596 Eu concordo com este abaixo-assinado e acho que também concordaras. Assina o abaixo-assinado aqui http://www.peticaopublica.com.br/?pi=P2010N4596 e divulga-o por teus contatos. Obrigado.DucaEsta mensagem foi enviada por Duca (eud...@gmail.com), através do serviço http://www.peticaopublica.com.br em relação ao abaixo-assinado http://www.peticaopublica.com.br/?pi=P2010N4596 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Re: Reference map depicted area extent line width
Thanks Jeff. However as I had already checked, there is no defined parameter to modify the style of the area of interest rectangle depicted on the reference map. Workaround anybody? Regards, Manuel Aymerich -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Reference-map-depicted-area-extent-line-width-tp5846190p5850974.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] Mapserver Google Maps
Rashad, The short answer is, "you can't do it". (That might be the long answer too.) >From a technical standpoint MapServer can't consume tiles directly from Google >and from a legal standpoint, when you accept Google's terms of service, you >agree to not do something like this. If you want to display your own personal data with Google's data, do it on the client side. Most people do it using OpenLayers. David. From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mohammed Rashad Sent: Monday, December 20, 2010 10:30 AM To: mapserver-users@lists.osgeo.org Cc: mapserver-...@lists.osgeo.org Subject: [mapserver-users] Mapserver Google Maps Sorry for cross posting. I am stuck for two days... How to render a google map as a WMS layer using Mapserver? -- Rashad ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Mapserver Google Maps
Sorry for cross posting. I am stuck for two days... How to render a google map as a WMS layer using Mapserver? -- Rashad ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] DATA and SUBSET keywords
Stephan, This might be some newer syntax that I haven’t seen before, but I would try it a different way: DATA “'locaux_etj6_poly” FILTER (“[unite]” == “SCTA” AND “[dur_occ]” == “permanent”) Note: This is no longer using LIKE, but because you didn’t have any wildcards in your original expression, I am guessing that you just wanted the exact values. I am not aware of a ‘LIKE’ comparison in MapServer logical expressions, but you could definitely cook up a regular expression if you needed one. You don’t want to use the ‘smart quotes’ like my email client inserted. Just use plain double quotes. Case sensitivity may apply to the column names, it will definitely apply to the values. David. From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephan Legere Sent: Monday, December 20, 2010 8:17 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] DATA and SUBSET keywords Hi everyone, I’m a newbie using MapServer and, writing my map file, I come to a problem which seems unsolvable to me: I would like to represent only some features from a shapefile, based on a simple SQL statement between the attributes of the respective shapefile. I tried to use the map file exported from Qgis which looks like: … LAYER NAME 'SCTA_perm_6' TYPE POLYGON DUMP true DATA 'locaux_etj6_poly.shp'|layerid=0|subset="unite" LIKE 'SCTA' AND "dur_occ" LIKE 'permanent'' STATUS OFF TRANSPARENCY 100 … but it is not working: loadLayer(): Unknown identifier. Parsing error near (|):(line 464) I tried to find some detailed information or examples using DATA and(or) SUBSET keywords but I didn’t found something useful. So, can anyone explain me what is wrong, how to do this or where to find some documentation on this. Thank you in advance. Stephan ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] SQL equivalent for MapScript queryByRect
Hi, I was thinking that why not to use standard WFS which supports well your example query. However, it can be difficult to optimize WFS for some certaind frequently used queries because WFS must support almost everything you and your users can imagine. I did a quick search and I believe this article is worth reading http://etd.ohiolink.edu/send-pdf.cgi/Chen%20Wei.pdf?osu1251042506 -Jukka Rahkonen- Shorthouse, David > Lähetetty: 20. joulukuuta 2010 17:02 > Vastaanottaja: mapserver-users@lists.osgeo.org > Aihe: [mapserver-users] SQL equivalent for MapScript queryByRect > > Hello folks, > > First, I'd like to say that I have been enjoying MapServer for many > years and really appreciate the work you guys put into it. I recently > got back into it in more earnest with a pet project for users to > produce print-quality, greyscale point maps...learned some new tricks. > > Second, I have project that requires me to query either shapefiles or > spatially indexed tables and produce some simple web service > responses. So, this has to perform very quickly. I am writing to > inquire if anyone knows how one would reproduce in spatial SQL the > exact equivalent of the PHP MapScript queryByShape? I'm starting to > get a mess of SQL with unexpected record sets and am nowhere further > ahead. > > e.g. SELECT column FROM table WHERE (WITHIN(GEOMFROMTEXT('WKT'), > the_geom) OR (OVERLAPS(GEOMFROMTEXT('WKT'), the_geom)) etc. > > Thanks for any insights, > > David P. Shorthouse > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] SQL equivalent for MapScript queryByRect
Hello folks, First, I'd like to say that I have been enjoying MapServer for many years and really appreciate the work you guys put into it. I recently got back into it in more earnest with a pet project for users to produce print-quality, greyscale point maps...learned some new tricks. Second, I have project that requires me to query either shapefiles or spatially indexed tables and produce some simple web service responses. So, this has to perform very quickly. I am writing to inquire if anyone knows how one would reproduce in spatial SQL the exact equivalent of the PHP MapScript queryByShape? I'm starting to get a mess of SQL with unexpected record sets and am nowhere further ahead. e.g. SELECT column FROM table WHERE (WITHIN(GEOMFROMTEXT('WKT'), the_geom) OR (OVERLAPS(GEOMFROMTEXT('WKT'), the_geom)) etc. Thanks for any insights, David P. Shorthouse ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] DATA and SUBSET keywords
Hi everyone, I’m a newbie using MapServer and, writing my map file, I come to a problem which seems unsolvable to me: I would like to represent only some features from a shapefile, based on a simple SQL statement between the attributes of the respective shapefile. I tried to use the map file exported from Qgis which looks like: … LAYER NAME 'SCTA_perm_6' TYPE POLYGON DUMP true DATA 'locaux_etj6_poly.shp'|layerid=0|subset="unite" LIKE 'SCTA' AND "dur_occ" LIKE 'permanent'' STATUS OFF TRANSPARENCY 100 … but it is not working: loadLayer(): Unknown identifier. Parsing error near (|):(line 464) I tried to find some detailed information or examples using DATA and(or) SUBSET keywords but I didn’t found something useful. So, can anyone explain me what is wrong, how to do this or where to find some documentation on this. Thank you in advance. Stephan ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users