[PHP MapScript] Problem with ms_newShapefileObj and path with special characters
Julien-Samuel Lacroix
jlacroix at DMSOLUTIONS.CA
Fri Jun 17 06:53:05 PDT 2005
Hi,
I tried to create a shapefile and it work in PHP MapScript and it worked.
ms_newShapefileObj("/home/test/Hiro´s_TestTeste(blablabla:)_)datatesteShapeFile",MS_SHP_POLYGON);
Note that I added the opening and closing quotes and that this path
(/home/test/) is an existing path where the webserver as the right to write.
Julien
On 06/16/2005 07:18 PM, Murilo Lacerda Yoshida wrote:
> Hi all,
> I tried to create a shapefile using a path with special characters in
> a linux system, all escaped by backslashes (\).
> The problem is that the ms_newShapefileObj function doesn't appear to
> work with this kind of path ... I tried to create a regular file using
> the same path and the same name as the failed shapefile in a terminal,
> and it worked fine.
> Is it a bug? Did somebody had this problem?
> Example:
> ms_newShapefileObj(/teste/mapas/btg/Hiro´s_Test/Teste\(blablabla:\)_\)/d
> ata/testeShapeFile,MS_SHP_POLYGON);
>
> Thanks in advance,
> Murilo
>
>
--
------------------------------------------------------------
Julien-Samuel Lacroix jlacroix at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list