Hi,
I tried to make a WMS layer from OGC API Features service but I did not
success. This is my best trial so far:
I am using Mapserver from MS4W 5.0.0 RC1
I wrote this ORG VRT file (ogcfeat.vrt)
OAPIF:https://beta-paikkatieto.maanmittauslaitos.fi/inspire-buildings/features/v1/
Are you sure that you don't just have a typo? Your file is named
"*ogcfeat*.vrt"
but your CONNECTION "c:/ms4w_data/*oapif*.vrt"
I set up a quick test and I haven't gotten a map (it timed out 504 error
after several minutes) but I didn't get an error. Maybe you could share a
smaller test data set
Yes, in php using swig it would be:
$oImg = $this->oMap->draw();
echo $oImg->getBytes()
-Original Message-
From: MapServer-users On Behalf Of
Sven Schroeter via MapServer-users
Sent: Monday, November 13, 2023 10:44 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [MapServer-users]
Hi Jan,
maybe you need this:
//SWIG
if($mapscriptSwig) {
echo msIO_getStdoutBufferBytes();
}else{
echo ms_iogetStdoutBufferBytes();
}
Sven
Am 10.11.2023 um 18:59 schrieb Jan Hartmann via MapServer-users:
Hi,
Yes, this works. Thanks Vassili and Sven. Is there any difference
between getBytes() and msIO_getStdoutBufferBytes()?
On 13/11/2023 09:51, Vassilis Chatzigiannakis via MapServer-users wrote:
Yes, in php using swig it would be:
$oImg = $this->oMap->draw();
echo $oImg->getBytes()
-Original
msIO_getStdoutBufferBytes is the mapscript function and fetch the
current stdout buffer contents as a binary buffer:
https://mapserver.org/mapscript/mapscript-api/index.html
I think its the same?
Sven
Am 13.11.2023 um 15:45 schrieb Jan Hartmann:
Yes, this works. Thanks Vassili and Sven. Is