Re: [mapserver-users] large shapefile - oops

2009-03-29 Thread Robert Sanson
Hi Steve
 
I was a bit hasty and hadn't read Stephen Woodgridge's response. His
answer is more complete and correct than mine. I was thinking of
gdaltindex for rasters. 
 
Kind regards,
 
Robert Sanson
 
 steve.tout...@inspq.qc.ca 28/03/2009 3:05 a.m. 

Hi, 
I read a lot on how to optimized mapserver for large shapefile but I
get confused. I read on shp2tile, ogrtindex, shptree, ... 
What is the link between those tools? What is the recipe? 
thanks, 
Steve 




Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction des risques biologiques, environnementaux et occupationnels
Institut national de santé publique du Québec
945, avenue Wolfe
Québec, Qc G1V 5B3 

Tél.: (418) 650-5115 #5281
Fax.: (418) 654-3144
steve.tout...@inspq.qc.ca
http://www.inspq.qc.ca ( http://www.inspq.qc.ca/ ) 
  



Click here (
https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==
) to report this email as spam.
--
The contents of this email are confidential to AsureQuality. If you have 
received this communication in error please notify the sender immediately and 
delete the message and any attachments. The opinions expressed in this email 
are not necessarily those of AsureQuality. This message has been scanned for 
known viruses before delivery. AsureQuality supports the Unsolicited Electronic 
Messages Act 2007. If you do not wish to receive similar communications in 
future, please notify the sender of this message.
--


This message has been scanned for malware by SurfControl plc. 
www.surfcontrol.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] large shapefile

2009-03-29 Thread Robert Sanson
Hi Steve
 
For Shapefiles, the only one you need is shptree. It creates a .qix
spatial index file of your features.
 
Usage: shptree yourshapefile.shp
 
The other tools are for rasters.
 
Kind regards,
 
Robert Sanson
 
Robert Sanson, BVSc, MACVSc, PhD
Geospatial Services
AsureQuality Limited
PO Box 585, Palmerston North
NEW ZEALAND

Phone: +64 6 351-7990
Fax: +64 6 351-7919
Mobile: 021 448-472
E-mail: sans...@asurequality.com 

 steve.tout...@inspq.qc.ca 28/03/2009 3:05 a.m. 

Hi, 
I read a lot on how to optimized mapserver for large shapefile but I
get confused. I read on shp2tile, ogrtindex, shptree, ... 
What is the link between those tools? What is the recipe? 
thanks, 
Steve 




Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction des risques biologiques, environnementaux et occupationnels
Institut national de santé publique du Québec
945, avenue Wolfe
Québec, Qc G1V 5B3 

Tél.: (418) 650-5115 #5281
Fax.: (418) 654-3144
steve.tout...@inspq.qc.ca
http://www.inspq.qc.ca ( http://www.inspq.qc.ca/ ) 
  



Click here (
https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==
) to report this email as spam.
--
The contents of this email are confidential to AsureQuality. If you have 
received this communication in error please notify the sender immediately and 
delete the message and any attachments. The opinions expressed in this email 
are not necessarily those of AsureQuality. This message has been scanned for 
known viruses before delivery. AsureQuality supports the Unsolicited Electronic 
Messages Act 2007. If you do not wish to receive similar communications in 
future, please notify the sender of this message.
--


This message has been scanned for malware by SurfControl plc. 
www.surfcontrol.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] WFS Filter with CGI Controls ?

2009-03-29 Thread Mehmet
Hi, using the wfs_filter in a wms/wfs client works without problems. But I
wonder If can use wfs_filter via URL (not for getting a XML File by
GetFeature..that is I'm not meaning
Filter=FilterPropertyIsGreaterThanPropertyNameAREA/PropertyNameLiteral100/Literal/PropertyIsGreaterThan/Filter
).

It's for showing a dropdown menu in which users can choose what type of
roads they want to display (the geodata comes from openstreetmap).
Is it possible?



By the way: I just have the Mapserver 4.10 running.



Thank you
M.Sirin
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Installing MapServer on existing Apache/PHP/MySQL on Linux?

2009-03-29 Thread kreshna_icehe...@yahoo.com


 No, no; no need for that. MapServer is a simple CGI
 program, so if your Apache has support for CGI programs
 you're good to go. And while support for CGI can be
 disabled, it's probably enabled.

I see! Thanks! Duh.


 I've done it a few hundred times (literally) and am glad to
 share tips. Feel free to email me directly with questions,
 but change the subject so it doesn't get caught by my
 filters.

Thanks.


 Step 1: Have you installed the prerequisites? GDAL/OGR and
 PROJ4 are not strictly required, but if you want to do
 anything about reprojecting data or using something other
 than shapefiles and TIFFs, they're strongly recommended.

No. This is a simple web map application, but I think I'll install the 
prerequisite just in case.
 

 Step 2: Download and build the source. Download the tar.gz
 file from mapserver.org, extract it, run ./configure with
 flags for whatever features you want, and then make Then
 copy the files into place.
 
 Step 3: Point a browser at /cgi/bin/mapserv and expect an
 error message from having not supplied enough query params.
 At that point, you're ready.

Thanks for the tips, Greg. :-)

Kind regards,
-Kresh


  
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users