Is it possible to do spatial operations with PHP MapScript? Currently, if I
want to do intersection between two shapes, I have to write the following
postgis queries in my map file:
DATA'the_geom from (
select h.gid, intersection(k.the_geom, h.the_geom) as the_geom
kreshna_icehe...@yahoo.com wrote:
Is it possible to do spatial operations with PHP MapScript?
Give a good search of the PHPMapScript documentation. For example, I
would start by searching for intersect on
http://www.mapserver.org/mapscript/php/index.html#php-mapscript (I
believe the
Thanks for your response Jeff,
Ive read the document you suggested
(http://www.mapserver.org/ogc/wms_server.html ) however i am still experiencing
the same problem.
As the document suggests i have set a projection and then added the folowing to
WEB section of my mapfile
Thanks, Jeff. I'll tinker around with intersection function.
Roppola, it seems putting the raster mesh in the database (BLOB data type?) is
not feasible in this situation. I wonder if anyone has ever succeeded in
intersecting polygon and raster before.
Michalis Avraam wrote:
Andy,
It was edited on Linux and I have tried to make sure it had no white
space after the \
Michalis
On Fri, Jul 17, 2009 at 6:07 PM, andy a...@squeakycode.net
mailto:a...@squeakycode.net wrote:
Michalis Avraam wrote:
Hello all.
I have
Hello List,
I am currently using Mapserver 5.2 on Windows Server 2003.
(!-- MapServer version 5.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT
Douville, Michelle R ILMB:EX wrote:
Hello List,
I am currently using Mapserver 5.2 on Windows Server 2003.
(!-- MapServer version 5.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
!--
/* Font Definitions */
@font-face
{font-family:Cambria Math;
panose-1:2 4 5 3 5 4 6 3 2 4;
mso-font-alt:Calisto MT;
mso-font-charset:0;
mso-generic-font-family:roman;
mso-font-pitch:variable;
mso-font-signature:-1610611985 1107304683 0
Hi Jeff, thanks for the quick reply.. I haven't tried the shp2img..
My tests are through WMS only..
Jeff McKenna wrote:
Douville, Michelle R ILMB:EX wrote:
Hello List,
I am currently using Mapserver 5.2 on Windows Server 2003.
(!-- MapServer version 5.2.0 OUTPUT=GIF OUTPUT=PNG
I was able to create a png from MAPSERVER 4.10 / SHP2IMG..
and it does show both features.. (see image ..
http://n2.nabble.com/file/n3290653/test.png
When I attempt to run MAPSERVER 5.2 / SHP2IMG ..
I get this..
http://n2.nabble.com/file/n3290653/Capture.jpg
Perhaps it is my compiled
What do you get when you run ogrinfo against the shapefile?
David.
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Michelle
Douvil
Sent: Monday, July 20, 2009 1:23 PM
To: mapserver-users@lists.osgeo.org
Results of OGRINFO..
E:\apps_data\mapserverutilsogrinfo -so E:\inetpub\wwwroot\imf\upload
INFO: Open of `E:\inetpub\wwwroot\imf\upload'
using driver `ESRI Shapefile' successful.
1: shp32973 (Polygon)
E:\apps_data\mapserverutilsogrinfo -summary
E:\inetpub\wwwroot\imf\upload\shp32
973.shp
Just did a test and this wasn't an issue with our version of Mapserver 4.10..
The feature with FID = 0 did display via WMS using mapserver 4.10 (same
mapfile, same shapefile).
--
View this message in context:
Michelle Douvil wrote:
Just did a test and this wasn't an issue with our version of Mapserver 4.10..
The feature with FID = 0 did display via WMS using mapserver 4.10 (same
mapfile, same shapefile).
I would download the latest MS4W[1] (with MapServer 5.4.1) and try a
shp2img with your
Thanks Jeff..
I download the Stable setup.exe Installer for MS4W.
Which installed the ms4w-2.3.1-setup.exe 142 KB (contains MapServer 5.2.1).
And it worked properly..
Both polygon features were displayed.
I am not sure what could be the issue, but I believe it may be related to
our compiled
15 matches
Mail list logo