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

2023-09-25 Thread Mike via mapguide-users
Please remove.

 

From: mapguide-users  On Behalf Of 
Sympatico via mapguide-users
Sent: Thursday, September 21, 2023 9:56 AM
To: 'MapGuide Users Mail List' 
Cc: Sympatico 
Subject: Re: [mapguide-users] Loading Shapefile on fly using add layer manager

 

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 mailto:mapguide-users-boun...@lists.osgeo.org> > de la part de H A via 
mapguide-users mailto:mapguide-users@lists.osgeo.org> >
Envoyé : jeudi, septembre 21, 2023 10:42:13 a.m.
À : MapGuide Users Mail List mailto:mapguide-users@lists.osgeo.org> >
Cc : H A mailto:hadissaali...@gmail.com> >
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> 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
 <mailto:mapguide-users@lists.osgeo.org> mapguide-users@lists.osgeo.org
 <https://lists.osgeo.org/mailman/listinfo/mapguide-users> 
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] 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 <mailto: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] Loading Shapefile on fly using add layer manager

2023-09-21 Thread Sympatico 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é : jeudi, septembre 21, 2023 10:42:13 a.m.
À : 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> 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
 <mailto:mapguide-users@lists.osgeo.org> mapguide-users@lists.osgeo.org
 <https://lists.osgeo.org/mailman/listinfo/mapguide-users> 
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] Loading Shapefile on fly using add layer manager

2023-09-21 Thread H A via mapguide-users
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 <
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


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

2023-09-21 Thread Jackie Ng via mapguide-users
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