Re: [mapguide-users] Geolocation in react-ing layout

2017-05-09 Thread torrini
Good to know it's in the making.
When can I expect some enhancements? What does take you to implement it?
How can I push it? Or in other words: what's your price? 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Geolocation-in-react-ing-layout-tp5316993p5319991.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Updating Feature Sources without restarting MG

2017-05-09 Thread Kajar
I do almost same but using SHP. I wanted to use Sqlite at first, but Autocad
MAP 3d have bug to export to Sqlite using command in command line scripts,
so I was pushed to use SHP. Every night scripts collects information from 80
drawings and creating one SHP from dwg data. So SHP is overwrite the old one
every night.
I'm using connection to SHP not uploading it to repository and for me its
work perfectly.
Maybe you need to use alternative format.

Kajar





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Updating-Feature-Sources-without-restarting-MG-tp5319874p5319963.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Updating Feature Sources without restarting MG

2017-05-09 Thread Jackie Ng
Don't use flat-files maybe? They are not designed for concurrent read/write
access from multiple users/applications. This is the kind of scenario that
relational databases are supposed to solve.

But if you must stick with SQLite files in this particular scenario ...
perhaps check whether the OSGeo.SQLite provider has been excluded from
connection pooling. Connection pooling will hold onto and reuse FDO
connections. MapGuide keeping pooled SQLite connections may have kept some
open file handles on the SQLite db, though if that is the case it sounds
like a bug on the SQLite FDO provider end.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Updating-Feature-Sources-without-restarting-MG-tp5319874p5319951.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] TileSetDefinition & Override Bounds feature in MgCooker

2017-05-09 Thread Jackie Ng
Sorry for the slow response.

The "Set with viewer" option is not available for Tile Set Definitions due
to the awkward limitation at the moment where it is not possible to create a
runtime map instance off of a Tile Set Definition (that we need in order to
be able to present an interactive map viewer). This is a MapGuide Server
level limitation. The only practical workaround would be to set up some
placeholder tiled map definition against the same set of layers and
copy/paste the custom bbox using this feature over to your tile set.

Now having said that, I have discovered a bug that prevents MgCooker from
properly calculating the meters-per-unit value for a selected Tile Set.
Having this set is important, as a bad or incorrect MPU can wildly throw off
the calculated total number of tiles that MgCooker needs to generate
(override bounds or not).

I've logged an issue on that matter:
https://github.com/jumpinjackie/mapguide-maestro/issues/39

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/TileSetDefinition-Override-Bounds-feature-in-MgCooker-tp5318041p5319948.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] .mgp with Feature Source Oracle?

2017-05-09 Thread open_saucer
Thanks Jerto, this definitely helps.  
It confirms what I'm thinking.  Sorry for the confusion guys.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mgp-with-Feature-Source-Oracle-tp5319793p5319916.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] .mgp with Feature Source Oracle?

2017-05-09 Thread Jérôme Touré

Hi,

It's hard to understand what you're trying to do as what you say does 
not really make sense.


Working with Oracle DB is pretty straight forward.

1 - Create a feature source and select the Oracle Provider
2 - Enter the connection parameters
3 - Save
That's done.

When you want to use data from your Oracle database, you just have to 
create a new Vector Layer Definition from the Feature Source and select 
the table containig the spatial data you want to display.


So packages are definitely not needed to work with an Oracle DB.

Moreover, packages do not store spatial data but the parameters entered 
in Maestro.
To make it simple, consider mgp files as ZIP archives with all the 
parameters of the resources packaged in XML format.


So if you create a mgp of your Oracle feature source, it will be a 2ko 
file, no matter how big your Oracle schema is.



I hope this will help.






Le 09/05/2017 à 05:00, open_saucer a écrit :

I don't intend to move data from one server to another.  I shouldn't have to,
if there is an Oracle DB that have spatial table right?  I can just let any
MapGuide Server access the Oracle DB, read the spatial table and
serve/publish that spatial table  as an layers/maps/etcs.

So really there is no need to create an .mgp package right? If I do decide
to create .mgp package of the Oracle DB, then could I just choose one
spatial table to create a package, just for that table?  Or do I have to
create a package of the whole Oracle DB with all the spatial tables in it?
that wouldn't be good if the Oracle DB instance is really big,  like more
than 30gb with all those spatial tables in it.





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mgp-with-Feature-Source-Oracle-tp5319793p5319803.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


--
Jérôme Touré
STERN
473 route des Dolines
Villantipolis 7
06560 VALBONNE
Phone : +33 4 92 96 96 01
Mobile : +33 6 27 84 04 30
Fax : +33 4 92 96 96 02

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

[mapguide-users] Updating Feature Sources without restarting MG

2017-05-09 Thread Reservoirdog
In our company we pretty often update geodata, mainly in form of
SQLite-Files.
So, if e.g. a water-utility is being updated we write a new sqlite-file and
replace the old
one in the repository. If I try to preview the "new" data now, it looks
corrupt.
It only works immediately if the filename is other that the old, or Mapguide
service gets restarted.
In MG 2.6 it was sufficient to save the feature source again, and it showed
the correct "new" data.
Is there any way I can replace sqlite-files while leaving mapguide running
and don't have to rename filenames? I would like to sort of "update" a
feature-source via Maestro or Mapagent...
How do other users handle this "data-update-issue"?

best regards, Chris.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Updating-Feature-Sources-without-restarting-MG-tp5319874.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users