Re: [mapguide-users] Precache MapGuide REST tile.png

2024-05-02 Thread pierre.cardinal via mapguide-users
Hi, https://jumpinjackie.github.io/mapguide-maestro/userguide/mgtileseeder.html 
Pierre  De : mapguide-users  De la part 
de Nimrod Cnaan via mapguide-usersEnvoyé : 1 mai 2024 13:20À : MapGuide Users 
Mail List Cc : Nimrod Cnaan 
Objet : [mapguide-users] Precache MapGuide REST tile.png 
Hi,  Is there a way to write a script that makes requests to the MapGuide REST 
API,causing the server to generate and store precache tiles ? Assuming this 
will improve performance for the "External General XYZ Layer".Something like: 
import requestsserver_url = 'http://myserverurl/mapguide/rest/'map_name = 
'library/projectname/Maps/mymap.MapDefinition'base_map_url = 
f'{server_url}tile/{map_name}/'# Define the zoom levels and tile ranges to 
precachezoom_levels = [0, 1, 2, 3]  # Example zoom levelstile_range = range(0, 
10)  # Example tile range for x and y# Loop through each zoom level and tile 
range to request tilesfor zoom in zoom_levels    for x in tile_range        for 
y in tile_range            tile_url = f'{base_map_url}{zoom}{x}{y}.png'         
   response = requests.get(tile_url)            print(f'Requesting {tile_url} - 
Status {response.status_code}')            # Optional Implement some error 
handling and retry logic            if response.status_code != 200              
  print(f'Error retrieving tile at {zoom}{x}{y}') -- בכבוד רב, נמרוד כנען   |   
גיאומינד שירותי GIS  –  פיתוח,  ייעוץ  ושירותי ענןישיר: 048101268 | נייד: 
0525355483 | nim...@geomind.co.ilנא בקרו באתר החדש שלנו http://geomind.co.il___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MGOS 4.0 and PostgreSQL

2024-01-20 Thread pierre.cardinal--- via mapguide-users
Hi,

With  

Postgis 3.2,
PostgreSQl 14,
MgServer 4.0.0.10048
Apache or IIS
libpq.dll 11.4
Windows 10
Database server, Web server and MapGuide server all on the same machine 

I am never seeing this error and I am displaying POINTS and POLYGONS from
PostGIS.


Regards,

Pierre

-Message d'origine-
De : mapguide-users  De la part de
svlad via mapguide-users
Envoyé : 17 janvier 2024 07:58
À : mapguide-users@lists.osgeo.org
Cc : svlad.cjell...@web.de
Objet : Re: [mapguide-users] MGOS 4.0 and PostgreSQL

hi,
I have tested the PostgreSQL/PostGIS Provider 4.2 with PostgreSql 15,
Postgis 3.4.
After some zoom or pan actions the following error occurs:
Objects disappear and appear randomly.
The MapGuide server reports the following error:
Error: Failed to stylize layer: LAYER1
An exception occurred in FDO component.
Error occurred in Feature Source
(Library://Data/POSTGRESQL.FeatureSource): Class 'public:qry_table' not
found (Cause: , Root Cause: Class 'public:qry_table' not found )
 StackTrace:
  - MgMappingUtil.StylizeLayers() line 918 file
C:\working\build_area\mapguide\4.0.0\x64\MgDev\Server\src\Services\Mapping\M
appingUtil.cpp

Once this error has occurred, an error also occurs in Maestro when trying to
select the data source:
Failed to enumerate data stores...
If you reenter the password, it works again.

The error was also already requested in May 2021 by woody2 with MG 3.1.

I have tested with different MG versions (3.1.2, 4.0 Beta 1), different
libpq.dll (11, 12, 15), Fusion Viewer and React Layout.
The error is always the same.


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Authentification doesn't work

2024-01-17 Thread pierre.cardinal--- via mapguide-users
Hi François,

 To start manually your MapGuide server, the exact command is "/Server/bin/mgserver.exe run" 

The parameter "run" was missing in my previous email. Sorry.

Pierre




 






-Message d'origine-
De : f...@free.fr  
Envoyé : 17 janvier 2024 02:41
À : pierre.cardinal 
Cc : MapGuide Users Mail List 
Objet : Re: [mapguide-users] Authentification doesn't work

Hi,
I restarted the service and I still got the same error message when trying to 
login in mapadmin. When trying to use the mapagent page, the page stays blank 
after the login popup, so I do think that, as you say, Mapguide server is not 
properly running, but I have no idea why.

Thanks,
Francois

- Mail original -
De: "pierre.cardinal" 
À: "MapGuide Users Mail List" 
Cc: f...@free.fr
Envoyé: Mardi 16 Janvier 2024 16:03:14
Objet: RE: [mapguide-users] Authentification doesn't work


Hi François, 


This problem is in general caused by the fact that your MapGuide server is not 
running. Check your services for MapGuide server or try to start you server 
with the following command ".. /server/bin/mgserver.exe" in the directory where 
you installed the MapGuide application. 


Salutations, 


Pierre 











Envoyé de mon appareil Samsung de Bell via le réseau le plus vaste au pays. 





 Message d'origine 
De : Francois Regnard via mapguide-users  Date 
: 24-01-16 02 h 13 (GMT-05:00) À : mapguide-users@lists.osgeo.org Cc : 
f...@free.fr Objet : [mapguide-users] Authentification doesn't work 

Hi, 

I recently tried to install mapguide 4.0.0.1 on a Professionnal Windows 10 for 
my company. Up until then, we used a linux server for that, but I had to fetch 
the data on the windows server for our users to have the same experience as 
they're used to. However, logging in, even as Administrator, doesn't work. It 
gives back an error "Authentification failed. Please enter a valid username and 
password." 

Just to be sure, I uninstalled everything, rebooted, reinstalled Mapguide 
leaving every default option (ip adress, port, packages...), and I still get 
the same authentication error. Could that be related to ports or something like 
that ? 

Thanks, 
Francois 
___ 
mapguide-users mailing list 
mapguide-users@lists.osgeo.org 
https://lists.osgeo.org/mailman/listinfo/mapguide-users 

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Authentification doesn't work

2024-01-16 Thread pierre.cardinal via mapguide-users
Hi François, This problem is in general caused by the fact that your MapGuide 
server is not running. Check your services for MapGuide server or try to start 
you server with the following command ".. /server/bin/mgserver.exe" in the 
directory where you installed the MapGuide application. Salutations, 
PierreEnvoyé de mon appareil Samsung de Bell via le réseau le plus vaste au 
pays.
 Message d'origine De : Francois Regnard via mapguide-users 
 Date : 24-01-16  02 h 13  (GMT-05:00) À : 
mapguide-users@lists.osgeo.org Cc : f...@free.fr Objet : [mapguide-users] 
Authentification doesn't work Hi,I recently tried to install mapguide 4.0.0.1 
on a Professionnal Windows 10 for my company. Up until then, we used a linux 
server for that, but I had to fetch the data on the windows server for our 
users to have the same experience as they're used to. However, logging in, even 
as Administrator, doesn't work. It gives back an error "Authentification 
failed. Please enter a valid username and password."Just to be sure, I 
uninstalled everything, rebooted, reinstalled Mapguide leaving every default 
option (ip adress, port, packages...), and I still get the same authentication 
error. Could that be related to ports or something like that ?Thanks,Francois 
___mapguide-users mailing 
listmapguide-users@lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/mapguide-users___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] WMS with MapGuide OS 4 Beta 1 on Ubuntu 22.04

2024-01-15 Thread pierre.cardinal--- via mapguide-users
Hi,



  

 The problem seems to be caused by the build process. I have the same problem 
with my installation (Ubuntu 22.04 and Apache)
 
https://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg16122.html
 
 
Pierre
 
 

 

 

De : mapguide-users  De la part de 
Daniel Knoop via mapguide-users
Envoyé : 15 janvier 2024 03:05
À : Gordon Luckett ; MapGuide Users Mail 
List 
Cc : Daniel Knoop 
Objet : Re: [mapguide-users] WMS with MapGuide OS 4 Beta 1 on Ubuntu 22.04

 

Hi Gorden,

 

thanks for your reply. But changing this parameter seems do change nothing.

I think php is not affected by this request?!? It is a direct call to 
mapagent.fcgi. And the buffer overflow log message appears only, if I do WMS or 
WFS requests against mapagent.fcgi.

 

 

Mit freundlichen Grüßen 

Daniel Knoop 

 

 

  

Mensch und Maschine acadGraph GmbH 

Daniel Knoop | Teamleiter Consulting | 

 daniel.kn...@mum.de 

Phone +49 2861 68021-57 | Mobile +49 176 19295 127 |  
 Teams
Dülmener Weg 221 | 46325 Borken |  

 www.mum-acadgraph.de  

Geschäftsführer: Roman Wagener, Peter Buss, Rainer Sailer, 
Markus Pech | Sitz: München, Amtsgericht München, HRB 147237 

 

 

 

 

Von: Gordon Luckett mailto:gordon.luck...@arrowgeomatics.com> >
Datum: Freitag, 12. Januar 2024 um 13:57
An: MapGuide Users Mail List mailto:mapguide-users@lists.osgeo.org> >
Cc: Daniel Knoop mailto:daniel.kn...@mum.de> >
Betreff: Re: [mapguide-users] WMS with MapGuide OS 4 Beta 1 on Ubuntu 22.04


EXTERNAL EMAIL - Do not click links or open attachments unless expected and you 
know the content to be safe. Your MuM-IT

 

In the PHP.INI the output buffering is quite now.  you can try increasing it: 

 

output_buffering = 4096 (default)

 

On Fri, Jan 12, 2024 at 9:53 AM Daniel Knoop via mapguide-users 
mailto:mapguide-users@lists.osgeo.org> > wrote:

Hi List,

 

I’ve installed MapGuide OS 4.0 Beta 1 on a fresh Ubuntu 22.04 Server. Most 
seems to work, but I can’t get WMS running.

If I try to open the capabilities document, I get “Error: Server returned 
nothing (no headers, no data)” in my client.

Digging around in the logfiles, I’ve found in 
/usr/local/mapguideopensource-4.0.0/webserverextensions/apache2/logs/error_log:

 

[Fri Jan 12 08:36:22.292425 2024] [core:notice] [pid 4624:tid 140102563568576] 
AH00051: child pid 5007 exit signal Abort (6), possible coredump in 
/usr/local/mapguideopensource-4.0.0/webserverextensions/apache2

*** buffer overflow detected ***: terminated

[Fri Jan 12 08:42:55.758679 2024] [core:notice] [pid 4624:tid 140102563568576] 
AH00051: child pid 5471 exit signal Abort (6), possible coredump in 
/usr/local/mapguideopensource-4.0.0/webserverextensions/apache2

*** buffer overflow detected ***: terminated

 

This appears every time, I request the capabilities document.

http://server:8008/mapguide/mapagent/mapagent.fcgi?service=wms 

 =getcapabilities=1.3.0

 

The same installation (all default, using apache2) on Windows is fine.

 

Is there any hint, how to get running WMS with MapGuide on Linux?

 

Thanks, 

 

 

Mit freundlichen Grüßen 

Daniel Knoop 

 

 

  

Mensch und Maschine acadGraph GmbH 

Daniel Knoop | Teamleiter Consulting | 

 daniel.kn...@mum.de 

Phone +49 2861 68021-57 | Mobile +49 176 19295 127 |  
 Teams
Dülmener Weg 221 | 46325 Borken |  

 www.mum-acadgraph.de  

Geschäftsführer: Roman Wagener, Peter Buss, Rainer Sailer, 
Markus Pech | Sitz: München, Amtsgericht München, HRB 147237 

 

 

 

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org  
https://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list

Re: [mapguide-users] mapguide-users Digest, Vol 204, Issue 6

2024-01-15 Thread pierre.cardinal--- via mapguide-users
Hi Gordon,

 

With or without dotnet, I have the same problem. But according to your email, I 
understand that I should not install dotnet ? Am I right ?

 

Pierre

 

 

De : mapguide-users  De la part de 
Gordon Luckett via mapguide-users
Envoyé : 15 janvier 2024 01:47
À : MapGuide Users Mail List 
Cc : Gordon Luckett 
Objet : Re: [mapguide-users] mapguide-users Digest, Vol 204, Issue 6

 

You may have in install the Linux .net libraries. 

 

https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu-2204

 

On Sun, 14 Jan 2024, 20:00 , mailto:mapguide-users-requ...@lists.osgeo.org> > wrote:

Send mapguide-users mailing list submissions to
mapguide-users@lists.osgeo.org  

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osgeo.org/mailman/listinfo/mapguide-users
or, via email, send a message with subject or body 'help' to
mapguide-users-requ...@lists.osgeo.org 
 

You can reach the person managing the list at
mapguide-users-ow...@lists.osgeo.org 
 

When replying, please edit your Subject line so it is more specific
than "Re: Contents of mapguide-users digest..."


Today's Topics:

   1. Maestro 6.0m12 with Mono under Ubuntu 22.04 LTS
  (pierre.cardi...@sympatico.ca  )


--

Message: 1
Date: Sat, 13 Jan 2024 22:12:38 -0500
From: mailto:pierre.cardi...@sympatico.ca> >
To: "'MapGuide Users Mail List'" mailto:mapguide-users@lists.osgeo.org> >
Subject: [mapguide-users] Maestro 6.0m12 with Mono under Ubuntu 22.04
LTS
Message-ID: <000f01da4697$87886580$96993080$@sympatico.ca  
>
Content-Type: text/plain; charset="us-ascii"

Hi,



I am unable to run Maestro 6.0m12 with Mono under Ubuntu 22.04 LTS.

The message is : Cannot open assembly './Maestro.exe': File does not contain
a valid CIL image.

Any solution ?



Regards,



Pierre





-- next part --
An HTML attachment was scrubbed...
URL: 


--

Subject: Digest Footer

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org  
https://lists.osgeo.org/mailman/listinfo/mapguide-users


--

End of mapguide-users Digest, Vol 204, Issue 6
**

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Maestro 6.0m12 with Mono under Ubuntu 22.04 LTS

2024-01-13 Thread pierre.cardinal--- via mapguide-users
Hi,

 

I am unable to run Maestro 6.0m12 with Mono under Ubuntu 22.04 LTS.

The message is : Cannot open assembly './Maestro.exe': File does not contain
a valid CIL image.

Any solution ?

 

Regards,

 

Pierre

 

 

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Unable to save MapGuide Site Admin tool

2024-01-10 Thread pierre.cardinal--- via mapguide-users
Hi David,

 

 

To fix the problem “definitely”

 

Remove or comment the two following lines in the file  
..\Web\www\mapadmin\serverdatafunctions.php

 

 

function CleanUpMagicQuotes( &$path )

{

   // if ( get_magic_quotes_gpc() )

   // $path = str_replace('', '\\', $path );

}

 

 

The function get_magic_quote_gpc() is deprecated.

 

 

Restart your Apache server

 

 

Regards,

 

Pierre

 

 

 

De : mapguide-users  De la part de 
David Bowen via mapguide-users
Envoyé : 10 janvier 2024 09:30
À : MapGuide Users Mail List 
Cc : David Bowen 
Objet : [mapguide-users] Unable to save MapGuide Site Admin tool

 

I'm attempting to update settings in the Site Administrator tool but when I 
click on Save, a blank page is returned. When I click on the go back button, 
none of the updated settings are shown.

 

Has anyone encountered this? I know you can update the serverconfig.ini file 
but I'm trying to update how often the logs are archived and there doesn't 
appear to be an option for it in the serverconfig.ini file.

 

Thanks,

David

 





___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Unable to save MapGuide Site Admin tool

2024-01-10 Thread pierre.cardinal--- via mapguide-users
Hi David,

 

Effectively there is a problem with Apache and PHP (IIS is OK)

 

But to modify your settings, add the following lines to the file 
serverconfig.ini

 

 

 

[AccessLogProperties]

# *

# A C C E S S  L O G

#

# Property NameDescription

# -

# Enabled  0 = log disabled, 1 = log enabled

# Filename Name of the log file

# Parameters   Log parameters

# *

Parameters = CLIENT, CLIENTIP, USER, OPID

Filename = Access%d.log

Enabled = 1

 

 

 

 

Note : 

 

Filename = Access%d.log for DAY

Filename = Access%m.log for MONTH

Filename = Access%y.log for YEAR

Filename = Access.log for NONE

 

 

Regards,

 

Pierre

 

 

 

 

 

 

 

 

De : mapguide-users  De la part de 
David Bowen via mapguide-users
Envoyé : 10 janvier 2024 09:30
À : MapGuide Users Mail List 
Cc : David Bowen 
Objet : [mapguide-users] Unable to save MapGuide Site Admin tool

 

I'm attempting to update settings in the Site Administrator tool but when I 
click on Save, a blank page is returned. When I click on the go back button, 
none of the updated settings are shown.

 

Has anyone encountered this? I know you can update the serverconfig.ini file 
but I'm trying to update how often the logs are archived and there doesn't 
appear to be an option for it in the serverconfig.ini file.

 

Thanks,

David

 





___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide Site Administrator Tool

2024-01-03 Thread pierre.cardinal--- via mapguide-users
Hi David,

 

Possibly a PHP problem. 

 

First you can try with ..\Web\Php\php.exe -v to see if your Php is running 
well. 

 

Example from my installation:

 

D:\mgos_4.0.0.10004\Web\Php>php -v

 

PHP 8.1.11 (cli) (built: Sep 28 2022 11:08:01) (NTS Visual C++ 2019 x64)

Copyright (c) The PHP Group

Zend Engine v4.1.11, Copyright (c) Zend Technologies

 

 

Also with ..\Web\Php\php -i you should see the MapGuideApi module 

 

…

libXML support => active

libXML Compiled Version => 2.9.12

libXML Loaded Version => 20912

libXML streams => enabled

 

MapGuideApi

 

MapGuideApi => enabled

 

mbstring

 

Multibyte Support => enabled

Multibyte string engine => libmbfl

HTTP input encoding translation => disabled

….

 

 

Also , if you put the file phpinfo.php that contains 



in the directory ..\Web\www\mapadmin then with 

http://localhost:8080/mapguide/mapadmin/phpinfo.php

 

you should see the same kind of informations as with php -i but in a Web page.

 



 

 

 

Regards,

 

Pierre

 

 

De : mapguide-users  De la part de 
David Bowen via mapguide-users
Envoyé : 3 janvier 2024 07:50
À : MapGuide Users Mail List 
Cc : David Bowen 
Objet : [mapguide-users] MapGuide Site Administrator Tool

 

I reinstalled MapGuide 4.0 Beta 1 on one of our servers and now I'm unable to 
log into the Site Administrator Tool using the credentials Administrator and 
admin. I get the error " Authentication failed. Please enter a valid username 
and password". I'm able to use these credentials on different servers without 
issue.

 

Has anyone encountered this issue? Any suggestions on how to resolve it?

 

Thanks,

David

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Blank map after importing packages

2023-12-27 Thread pierre.cardinal via mapguide-users
Hi David,What is your OS? Have you try Maestro with your new installation? 
Regards, Pierre
 Message d'origine De : David Bowen via mapguide-users 
 Date : 23-12-27  14 h 04  (GMT-05:00) À : 
MapGuide Users Mail List  Cc : David Bowen 
 Objet : [mapguide-users] Blank map after importing 
packages 



















I
recently updated one of our servers to MGOS 4 Beta 1 and after I imported the 
package, using the Site Admin tool,
the map no longer shows up. I’m able to see the login page, but once the 
credentials
are passed, a blank page comes up. I’m not getting any errors in the
console, Apache error log or PHP error log. I’ve tried importing different
packages but nothing works.Has anyone else encountered this? If so, how did you 
resolve it?Thanks,David






___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Map not rendering

2023-12-10 Thread pierre.cardinal--- via mapguide-users
Have you tried with Maestro ?

 

De : mapguide-users  De la part de 
anniechan03--- via mapguide-users
Envoyé : 10 décembre 2023 13:18
À : MapGuide Users Mail List 
Cc : anniecha...@yahoo.com
Objet : [mapguide-users] Map not rendering

 

Hi,

 

Im using mapguide 3.1.2 vb asp.net fusion layout.. seems to be odd, i switch 
computer and resintalled everything, but for some reason the map is not 
rendering and no errors was thrown.

 

I do have fastcgi added on  handlers mappings, i did try to reinstall again the 
mapguide but still not rendering..

 

Any ideas or help ?

 

 

Thanks

 

Maria A

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] google maps problem

2023-11-20 Thread pierre.cardinal--- via mapguide-users
Hi Yuval,

 

You will have the best answers with this thread  

 

https://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg27061.html

 

Regards,

 

Pierre

 

De : mapguide-users  De la part de  
 via mapguide-users
Envoyé : 19 novembre 2023 11:28
À : mapguide-users@lists.osgeo.org
Cc : יובל קימל 
Objet : [mapguide-users] google maps problem

 

Hello to all

for many years now i have using mapguide open source as a main platform for 
agriculture management system

Throughout the years i had some problems with the google maps background that 
were solved by changing the version to the correct google maps api version.

On the 17 of November the google maps API stopped delivering google maps 
background and i have no idea how to solve this problem.

We use a pretty old version of mapguide open source. 2.6.1.8732-Final-x64

Please any idea will be great.

regards

Yuval

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MGOS 4.0 and PostgreSQL

2023-10-24 Thread pierre.cardinal via mapguide-users
Hi,The answer is PostGIS Provider: 
Added support for PostgreSQL 12.0
No longer joins to pg_authid when listing tables/views
Support for curve strings and curve 
https://trac.osgeo.org/mapguide/wiki/Release/4.0.0/Beta1/NotesRegards,Pierre
 Message d'origine De : Liglio Cavalcante via mapguide-users 
 Date : 2023-10-23  15 h 44  (GMT-05:00) À : 
mapguide-users@lists.osgeo.org Cc : liglio.pess...@nexxa.com.br Objet : 
[mapguide-users] MGOS 4.0 and PostgreSQL Hi, The most recent PostgreSQL/PostGis 
versions which are compatible to Mapguide Server 3.1.2 are version PostgreSQL 
12 and PostGis 2.5 ?Mapguide Server 4.0 will be compatible with which versions 
of PostgreSQL/PostgGis ? Regards, Liglio  ___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Loading Shapefile on fly using add layer manager

2023-09-21 Thread pierre.cardinal--- via mapguide-users
Hi, 

 

As a suggestion, perhaps you can ask your users to convert Shp files to Geojson 
files with the ogr2ogr converter https://gdal.org/programs/ogr2ogr.html.

 

As another suggestion, try programming your viewer including the shp2geojson.js 
module https://github.com/gipong/shp2geojson.js.

 

Regards,

 

Pierre

 

 

De : mapguide-users  De la part de H A 
via mapguide-users
Envoyé : 21 septembre 2023 10:42
À : MapGuide Users Mail List 
Cc : H A 
Objet : Re: [mapguide-users] Loading Shapefile on fly using add layer manager

 

Hi Jackie, 

 

Thank you for your prompt email. Is there any other way like using leaflet, 
fusion, and MapGuide rest to be able to load shapefiles? 

Hadis

 

 

 

On Thu, Sep 21, 2023 at 6:57 AM Jackie Ng via mapguide-users 
mailto:mapguide-users@lists.osgeo.org> > wrote:

Most of what mapguide-react-layout can/cannot do is driven by the underlying 
OpenLayers library we're using.

 

OpenLayers cannot create client-side vector layers from SHP files, so there 
will not be such support in mapguide-react-layout either.

 

- Jackie

 

You wrote:

Hi
 
I’d like my webpage’s user to load either shapefile or tab file from their
local machine using external layer manager. I use manguide react layout so
the users are enable to add their data in GeoJson, kml and csv which is
good. But I want them to be a ale to load their shapefiles or tab files to
the map. Please advise how to proceed? And if you plan to that as
additional option in the new version of map guide layout? Or let me know
which JS code in the source files should be updated or change from our
side?
 
Thanks
Hadis

-- 

Please Note: I no longer create new posts or post replies to any OSGeo mailing 
list through nabble. As a result, you most likely won't see this message appear 
on nabble's view of any OSGeo mailing list and may only see this message 
through mailing list archives or depending on your mailing list subscription 
settings, through daily message digests or automated notifications from the 
mailing lists.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org  
https://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users