Hello Friends,
Am a newbie to Map server Windows.I want to use the WMS services of
Mapserver. This is what I have done until now referring websites
mapserver.org and onegeology.
Setup
1. I have unzipped the zip package file to C:\ms4w.
2. Clicked the Setenv.bat to set the environment
Changing to:
GEOMTRANSFORM (buffer([shape], 0.0)
...has the same error result.
There are a total of 5 mapserver calls to load the web page (I'm using
leaflet in the browser). The error occurs on the very first call to
mapserver from an ajax request which is requesting the un-buffered parcel
If the GDAL on your system is compiled with Oracle support, you could use
ogr2ogr to create a shapefile copy of your data from Oracle.
http://www.gdal.org/ogr2ogr.html
If you want to do it with a GUI, you could probably use the QGIS. I believe
that QGIS 2.0 now has Oracle Spatial support out
On 9/27/2013 9:16 AM, tday wrote:
Changing to:
GEOMTRANSFORM (buffer([shape], 0.0)
...has the same error result.
There are a total of 5 mapserver calls to load the web page (I'm using
leaflet in the browser). The error occurs on the very first call to
mapserver from an ajax request which is
Here is what the shptoimage did:
... ~]$ shp2img -map_debug 5 -m /.../wfs.map -o test.png
[Fri Sep 27 08:44:36 2013].926937 loadLayer(): Unknown identifier. Parsing
error near (GEOMTRANSFORM):(line 131)
[Fri Sep 27 08:44:36 2013].927117 msFreeMap(): freeing map at 0x9a152f0.
loadLayer(): Unknown
Thanks, the admin tells me it was created using ArcView, so I've requested an
export using ESRI tool chain.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/GEOMTRANSFORM-definition-causing-an-error-tp5080269p5080565.html
Sent from the Mapserver - User mailing list archive
Yes, you are correct about the php...here is the entire php code:
$request = ms_newowsrequestobj();
$request-loadparams();
$request-setParameter(VERSION,1.1.0);
$request-setParameter(SERVICE,WFS);
ms_ioinstallstdouttobuffer();
$oMap = ms_newMapobj(mapfiles/wfs.map);
On 9/27/2013 9:56 AM, tday wrote:
Here is what the shptoimage did:
... ~]$ shp2img -map_debug 5 -m /.../wfs.map -o test.png
[Fri Sep 27 08:44:36 2013].926937 loadLayer(): Unknown identifier. Parsing
error near (GEOMTRANSFORM):(line 131)
[Fri Sep 27 08:44:36 2013].927117 msFreeMap(): freeing
It appears that layer level GEOMTRANSFORM was added in 6.4 according to the
changelog:
http://mapserver.org/trunk/development/changelog/changelog-6-4.html
...and it is confirmed we are using 6.2.1
So that is a very basic requirement - looks like my server admin will get to
reinstall newest
tday,
Note that the *LAYER* geomstransform has been added in 6.4. You can
still use the buffer GEOMSTRANSFORM in you style definition. Give it a try.
Alan
On 13-09-27 10:53 AM, tday wrote:
It appears that layer level GEOMTRANSFORM was added in 6.4 according to the
changelog:
Better with an example:
LAYER NAME my_layer
TYPE LINE
STATUS DEFAULT
DATA lines.shp
CLASS
STYLE
GEOMTRANSFORM (buffer([shape], 5) ## In pixels
WIDTH 2
COLOR 255 0 0
END
END
END
On 13-09-27 10:55 AM, Alan Boudreault wrote:
tday,
Note that the *LAYER*
Hello,
I have a couple applications that are tied to different mapcaches on the same
server. One performs fast, the other feeds most of the tiles on the clients
screen quickly but then becomes very slow. I think I have the grids between
the client and server match so I don't think the tiles
H...My assumption has been that the style GEOMTRANSFORM will be shown if
I am producing an image with mapserver. If all I'm getting is geojson from
mapserver, will the style GEOMTRANSFORM be applied?
--
View this message in context:
Ah, right. You will need the layer geomtransform for that.
On 13-09-27 11:11 AM, tday wrote:
H...My assumption has been that the style GEOMTRANSFORM will be shown if
I am producing an image with mapserver. If all I'm getting is geojson from
mapserver, will the style GEOMTRANSFORM be
Postscript:
Although the upgrade to version 6.4 was necessary, the solution to the error
message was happening because the server needed to access X-Requested-With
headers. IE, in php...
header(Access-Control-Allow-Headers: Origin, X-Requested-With,
Content-Type, Accept);
It seems that the
Hi Michael: It should look like:
$layer-queryByShape($circle);
for($i=0; $i$layer-getNumResults(); $i++) {
$shape = $layer-getShape($layer-getResult($i));
# do whatever with the shape
}
The RFC that describes the changes is here:
16 matches
Mail list logo