[mapguide-users] Passing the SessionId to a new map does not reflect the changes made

2011-11-29 Thread Liglio
Hi, I am developing a mapguide application using visual studio 2010 and C#. My question is : I opend a page with an ajaxviewer, made some changes to the map like change a layer visibility and filtered another layer with success. Then I keep the first page opened and opened a second page with an

[mapguide-users] Re: Passing the SessionId to a new map does not reflect the changes made

2011-11-29 Thread Liglio
What I have to do to replicate the actual map (with the changes made) to a new map in another page ? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Passing-the-SessionId-to-a-new-map-does-not-reflect-the-changes-made-tp7043424p7043487.html Sent from the MapGuide Users

[mapguide-users] Re: Passing the SessionId to a new map does not reflect the changes made

2011-12-13 Thread Liglio
Thanks all for replies, I found out that the ajaxviewer always do a map.Create using the library repository, so all my changes in the session repository are not reflected. To correct, I modified the source code of mapframe.aspx this way: // map.Create(resourceSrvc, resId,

[mapguide-users] Re: Passing the SessionId to a new map does not reflect the changes made

2011-12-19 Thread Liglio
Mauricio, Thanks for your comment. If I save the changes in the library instef of session repository, the changes will the reflected to all users. I want the changes made by a user be reflected to another page/map only for this user. -- View this message in context:

[mapguide-users] What is the right way to reference the AjaxViewer ?

2011-12-19 Thread Liglio
Hi, I am developing a mapguide application using visual studio 2010 and C#. My question is : If use the ajaxviewer url http://localhost/mapguide/mapviewernet/ajaxviewer.aspx?SESSION=%=sessionId%WEBLAYOUT=%=webLayout% and access from another computer different from wher the mapguide is, it

[mapguide-users] Re: Passing the SessionId to a new map does not reflect the changes made

2011-12-19 Thread Liglio
Steve, Maybe this will work. The important thing is not to pass the same session id (the viewer allways creates the map using the library), but copy all xmls: map, layers, etc. from the existing session to the new map. To program this is a little hard. -- View this message in context:

[mapguide-users] Re: Passing the SessionId to a new map does not reflect the changes made

2011-12-21 Thread Liglio
Steve, Thanks for the code. I will use it. I made another question about the ajaxviwer url, title What is the right way to reference the AjaxViewer ?, I appreciate if you have some time to comment on it. Once again, thanks for your help. If I can help you in anyway tell me, I am constructing a

Re: [mapguide-users] Task Pane hidden but still available?

2012-10-06 Thread Liglio
To have the task pane initially hiden, you have to programatically do this. You can do this using javascript on the load event of the page that contains the ajaxviewer frame. function GetMap() { var frame; frame = document.getElementById(FrameMap) if (frame == null) { frame =

[mapguide-users] How to use one Fusion template with differents maps and initial task panes ?

2013-02-14 Thread Liglio
I want to use just one fusion template with differents maps and differents initial task panes, so I have to set it at run time, not fixed in the studio. which is the best way to do it ? -- View this message in context:

Re: [mapguide-users] How to use one Fusion template with differents maps and initial task panes ?

2013-02-15 Thread Liglio
Thanks All to the feedbacks, Zspitzer, I didn´t find the initial task pane url in the applicationDefinition.xml, maybe this is in the library defined in the layout definition. Does anyone did this, I think it is a very common need, or my approuch it is wrong ? -- View this message in

Re: [mapguide-users] How to use one Fusion template with differents maps and initial task panes ?

2013-02-19 Thread Liglio
Jackie, Thanks for your feedback. Can I modify the initial task pane URL programatically, or I will have to create several fusion templates to use differents Initial Task Pane URL ? -- View this message in context:

[mapguide-users] How to get the mapname in a frame outside fusion

2013-03-06 Thread Liglio
Hi, I have an aspx page that has two iframes, one frame (iFrameLogic) an aspx page with datagrid and some logic to manipulate the map and another frame (iFrameMap) with the fusion page index.html. I am trying to get the mapname in the server-side page of iFrameLogic to manipulate the map. I can

Re: [mapguide-users] Fusion MGENT 2010 - get Fusion object from frame outside fusion

2013-03-07 Thread Liglio
Matteo, Did you get an answer for your question ? I have the same problem. Regards, Liglio -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Fusion-MGENT-2010-get-Fusion-object-from-frame-outside-fusion-tp4191522p5039005.html Sent from the MapGuide Users mailing list

[mapguide-users] Which version of fusion is deployed with MGE 2011 ?

2013-03-25 Thread Liglio
Hi, Anybody knows which version of fusion is deployed with MGE 2011 or MGE 2011 Update 1 ? Thanks, Liglio -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Which-version-of-fusion-is-deployed-with-MGE-2011-tp5042806.html Sent from the MapGuide Users mailing list archive

Re: [mapguide-users] How to know a map session is still alive ?

2013-09-30 Thread Liglio
Jackie, Thanks for the help. Regards, Liglio -- View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-know-a-map-session-is-still-alive-tp5080825p5081007.html Sent from the MapGuide Users mailing list archive at Nabble.com

[mapguide-users] Fusion cannot establish connection to the Mapguide Server

2013-10-17 Thread Liglio
Hi, I have a server installed with Windows server 2012 and mapguide server 2.5. I am developing a application using Fusion and .NET. When the application is installed at the server everything works fine, but if I try to run the application from my workstation Fusion recieves a html response

Re: [mapguide-users] Fusion cannot establish connection to the Mapguide Server

2013-10-21 Thread Liglio
Riccardo, Thanks for you replay. I made the changes in the serverconfig.ini and restarted the mapguide server, but the problem still remains. Maybe this can be an Ipv6 problem ? Liglio -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Fusion-cannot-establish-connection

Re: [mapguide-users] Fusion cannot establish connection to the Mapguide Server

2013-10-24 Thread Liglio
Site objects (Maps, Layers, etc). Liglio -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Fusion-cannot-establish-connection-to-the-Mapguide-Server-tp5083718p5085645.html Sent from the MapGuide Users mailing list archive at Nabble.com

Re: [mapguide-users] Fusion cannot establish connection to the Mapguide Server

2013-10-24 Thread Liglio
Steve, Thanks for your reply. I made this test and it was OK. But the web server extension used in Maestro to display the map is local. It is diferent from running fusion in my workstation, which is making requests to the mapguide server. Liglio -- View this message in context: http://osgeo

[mapguide-users] How to change the initial task pane URL programatically

2014-02-07 Thread Liglio
Hi, How to change the initial task pane URL programatically using C# ? This information is kept in the file MgLibraryResourceContents.dbxml ? Thanks, Liglio -- View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-change-the-initial-task-pane-URL-programatically-tp5102583

Re: [mapguide-users] How to change the initial task pane URL programatically

2014-02-11 Thread Liglio
James, Thanks for your reply. My problem is that the Initial Task Pane URL must be dynamic, because it must write the host name where the application is installed, due a cross-domain issue (I am using iframes). I don't want to manually edit the weblayout for every server I install de application

Re: [mapguide-users] How to change the initial task pane URL programatically

2014-02-11 Thread Liglio
Flipper, I have an aspx page with na iframe pointing to fusion page http://hostIP/mapguide/fusion/templates/mapguide/standard/index.html and by default my TaskPane is as iframe of fusion framework. I avoided the cross-plataform iframe problem and this is working for me. -- View this message

Re: [mapguide-users] How to change the initial task pane URL programatically

2014-02-12 Thread Liglio
Flipper, Your layout is similar to mine. See the images. http://osgeo-org.1560.x6.nabble.com/file/n5103406/Map1.jpg http://osgeo-org.1560.x6.nabble.com/file/n5103406/Map2.jpg -- View this message in context:

Re: [mapguide-users] How to change the initial task pane URL programatically

2014-02-12 Thread Liglio
Flipper, you will have the 2 domains problem. My application is http://host/GisWeb and the iframe where fusion is called http://host/mapguide. Two differents applications web sites in IIS (GisWeb and mapguide) are considered differents domains. Have you tryied ? Why your TaskPane must be outside

[mapguide-users] Google Maps Proxy in Fusion

2014-03-15 Thread Liglio
to Google Maps Server IP. Thanks, Liglio -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Google-Maps-Proxy-in-Fusion-tp5129210.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing

Re: [mapguide-users] Google Maps Proxy in Fusion

2014-03-19 Thread Liglio
Gordon, Thanks for the reply. I don´t know about tiled map using wms layer. I will take a look into it. Regards, Liglio -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Google-Maps-Proxy-in-Fusion-tp5129210p5129948.html Sent from the MapGuide Users mailing list archive

Re: [mapguide-users] The type initializer for 'OSGeo.MapGuide.MapGuideApiPINVOKE' threw an exception

2014-05-27 Thread Liglio
Hi, Did you get an answer ? I Have the same problem. My applications runs on the server, but I can´t debug in my workstation. Liglio -- View this message in context: http://osgeo-org.1560.x6.nabble.com/The-type-initializer-for-OSGeo-MapGuide-MapGuideApiPINVOKE-threw-an-exception

Re: [mapguide-users] 64-bit woes

2014-05-27 Thread Liglio
2010 as administrator, but I can not debug. The application compiled runs well on a Windows server 2012 installation, but not in my workstation. I have the error 'OSGeo.MapGuide.MapGuideApiPINVOKE' Any ideias ? Liglio -- View this message in context: http://osgeo-org.1560.x6.nabble.com/64-bit

Re: [mapguide-users] The type initializer for 'OSGeo.MapGuide.MapGuideApiPINVOKE' threw an exception

2014-05-31 Thread Liglio
Hans, Thanks for you replay. I used your direction and everything worked fine. Liglio -- View this message in context: http://osgeo-org.1560.x6.nabble.com/The-type-initializer-for-OSGeo-MapGuide-MapGuideApiPINVOKE-threw-an-exception-tp5098741p5143436.html Sent from the MapGuide Users

[mapguide-users] Google Maps Free Usage Limit in Fusion

2014-08-26 Thread Liglio
Hi, Does anybody know what is the limit of free usage of google maps layer in Fusion ? And how Google controls the amount of google maps resources my application is using ? Regards, Liglio -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Google-Maps-Free-Usage-Limit

Re: [mapguide-users] Google Maps Free Usage Limit in Fusion

2014-08-27 Thread Liglio
Hans, Thanks for your reply. Our application runs in an intranet, and we are experiencing some delay and partially rendered google maps layer (it did not ocurred during development). So we think it must some limitation imposed by google. Our application has now about 10 users. -- View this

Re: [mapguide-users] Google Maps Free Usage Limit in Fusion

2014-09-24 Thread Liglio
Thanks a lot for your replay. Are you brazilian too ? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Google-Maps-Free-Usage-Limit-in-Fusion-tp5158453p5163973.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] FDO Connection Error - Shape File

2014-11-24 Thread Liglio
Hi, When trying to create na unmanaged file shape feature source, I get the following error: (If I create a managed file feature source, I can use this file with success, and I also can see it in a shape viewer). Maybe it is a limitation of number of shapes files in the folder ?

Re: [mapguide-users] FDO Connection Error - Shape File

2014-12-02 Thread Liglio
Hans, Thanks for your replay. I don't think that using a folder as a feature source will open all files in the folder. When you create the feature source, the maestro try to mount the schema of all files to present to the user. It is the only time I can see a limitation of the number of files.

[mapguide-users] SHP Feature Source - Unmanaged File error over one thousand shapes

2014-12-14 Thread Liglio
Hi all, I am using a SHP Feature Source - Unmanaged File to show cloud formations. I receive 8 shapes files per day and the user can see historical shapes, so I have to keep those shape files in the folder. The problem is that about over one thousand shapes I get an error. It seems the error is

Re: [mapguide-users] SHP Feature Source - Unmanaged File error over one thousand shapes

2014-12-17 Thread Liglio
Hans, Thanks for your replay (sorry the delay). Your ideas are very good. Maybe the first one suits me better, because it can be done dinamically. The second one I have to periodically merge the shapes files manually. Best regards, Liglio -- View this message in context: http://osgeo-org

Re: [mapguide-users] Initial map unit in degrees

2015-01-26 Thread Liglio
Gordon, Yes It works using the interface to change the map unit to degrees. The problem is when I set the ApplicationDefinition.xml to use degrres as default. It does not work. Did it work in your environment, setting the ApplicationDefinition.xml to degrees ? Extension

[mapguide-users] Initial map unit in degrees

2015-01-22 Thread Liglio
Hi, There is a configuration I can do to set the initial map unit in degrees ? Regards, Liglio -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Initial-map-unit-in-degrees-tp5183224.html Sent from the MapGuide Users mailing list archive at Nabble.com

Re: [mapguide-users] Initial map unit in degrees

2015-01-23 Thread Liglio
Gordon, Thanks for your replay. I am using Fusion, and I tried your tip, but it didn't worked. I checked if the ApplicationDefinition.xml in my template folder was really updated, and it was. Have you ever tried in your application ? Liglio -- View this message in context: http://osgeo-org

[mapguide-users] blink a layer or a feature

2015-11-17 Thread Liglio
Hi, I want to call attention of a road in a map. Is it possible to blink a feature in a map ? Making a layer visible and invisible and refreshing the map every 0.5 second demands o lot of the mapguide server. There is another way ? Thanks -- View this message in context:

[mapguide-users] Join tables in Feature Source

2015-11-04 Thread Liglio
Hi, I am using mapguide 2.5.2 and postgreSQL 8.4 and PostGis 1.5. I want to know if anybody made a join between tables in the feature source successfully. I cannot retrieve data from that. Thanks. -- View this message in context:

Re: [mapguide-users] Mapguide Raster Classes

2015-10-07 Thread Liglio
Jackie, Thanks for your reply. I am trying to read the pixels values of a single band GeoTIFF raster file. Below is my code, I get na error "The feature set is empty." on the GetRaster method. tempResource = "Library://DQDM/Data/SIPPER.FeatureSource"; resIdTemp =

Re: [mapguide-users] blink a layer or a feature

2015-11-17 Thread Liglio
Gordon, I will take a good look in this page. I think everything can be done with javascript, right ? Thanks. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/blink-a-layer-or-a-feature-tp5236968p5237037.html Sent from the MapGuide Users mailing list archive at

[mapguide-users] Raster File GeoTIFF Band Info

2015-09-25 Thread Liglio
Hi, I am using AIMS 2014 and Windows Server 2012. I think AIMS 2014 it's equivalente to mapguide 2.4. I created a raster feature source and a layer in the Studio 2014, where I can see the GeoTIFF image with success. The image has a single band gray scale with areas and the probability of a bolt

[mapguide-users] Mapguide Raster Classes

2015-10-06 Thread Liglio
Hi, Does anybody used the classes for reading raster file properties (MgRasterProperty, MgRaster) ? Does it work ? Thanks, Liglio -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-Raster-Classes-tp5228185.html Sent from the MapGuide Users mailing list archive

Re: [mapguide-users] blink a layer or a feature

2015-11-19 Thread Liglio
Hi, I looked at Fusion code and I saw that all layers are added from the Library Map. Can I point to a layer object, already included in the map, using an Openlayer object and control the visibility, or I have to remove that layer from the map (using Studio) and manually (using code) add the

Re: [mapguide-users] blink a layer or a feature

2015-11-23 Thread Liglio
My code does not have throw exceptions, but does not show the added layer. I am using AIMS 2014, Fusion viewer and google base map. The layer "LTR-off" is already created in my library, but is not added to my map in the library. So I am adding the layer in the code bellow. The addLayer function is

[mapguide-users] Temporary weblayout

2016-06-21 Thread Liglio
Hi, There is a temporary weblayout where I can change the initial task URL for a session ? Regards, Liglio -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Temporary-weblayout-tp5272667.html Sent from the MapGuide Users mailing list archive at Nabble.com

Re: [mapguide-users] Initial map unit in degrees

2016-01-23 Thread Liglio
I changed the fusionSF.js to make degrees default. See in the index.hmtl file if you are using fusionSF.js or fusionSF-compressed.js file. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Initial-map-unit-in-degrees-tp5183224p5246875.html Sent from the MapGuide Users

Re: [mapguide-users] Change Raster Layer ResourceSourceId

2016-04-06 Thread Liglio
Hi, I found what was missing. The configuration file "config.xml" must be provided to the temporary raster feature source using SetResourceData. I can use the config.xml file generated by Studio and change to point to the choosen file, and change other parameters also. But can I generate this

[mapguide-users] Change Raster Layer ResourceSourceId

2016-03-31 Thread Liglio
Hi, I am trying to change dinamically the raster image of a layer, following the steps: 1 - Copy the xml content of the original Resource Source and change the raster file path. 2 - Create a Session Resource Source with the above modified xml content. 3 - Copy the xml content of the original

Re: [mapguide-users] Add geometry to feature source

2016-04-04 Thread Liglio
Hi Greg, I have the same problem, I created a temporary feature source in the map session and if I change the node of the layer xml file from this: Library://data/sdf/truck_route.FeatureSource to something like this (the session id varies of course):

[mapguide-users] RES: Add geometry to feature source

2016-04-04 Thread Liglio
Greg, Thanks for your reply. I will keep trying a solution. Regards, Liglio De: Greg [via OSGeo.org] [mailto:ml-node+s1560n5259608...@n6.nabble.com] Enviada em: segunda-feira, 4 de abril de 2016 17:30 Para: Liglio Assunto: Re: Add geometry to feature source I never did

[mapguide-users] RES: Add geometry to feature source

2016-04-04 Thread Liglio
Greg, Thanks for your reply. I will keep trying a solution. Regards, Liglio De: Greg [via OSGeo.org] [mailto:ml-node+s1560n5259608...@n6.nabble.com] Enviada em: segunda-feira, 4 de abril de 2016 17:30 Para: Liglio Assunto: Re: Add geometry to feature source I never did

[mapguide-users] Postgis Multipolygon column not display in map

2016-04-18 Thread Liglio
Hi, I trying to use a multipolygon column in postgis 2.2 (postgresql 9.5) to display in mapguide, but the geometry do not display in the map. I am using AIMS 2014 and Studio. Has anyone experienced this ? Ragards. -- View this message in context:

Re: [mapguide-users] Raster visualization problem

2017-01-23 Thread Liglio
Hi, I want to share the solution of this problem. The problem is the reprojection of the raster coordinate system LL84 (4326) to the map coordinate system WGS84.PesoudoMercator (3857) made automatically by mapguide. For some reason is not working. When I generate the raster in the same coordinate

[mapguide-users] Raster visualization problem

2017-01-17 Thread Liglio
Hi, I am using mapguide 3.0. The visualization of a GeoTiff raster (185x174) pixels in the fusion viewer is not correct (It appears black holes). I don't know how I can fix this, the raster is a RGB and is small. I use others rasters without problem.

[mapguide-users] Import library from AIMS 2014 to mapguide 3.1

2016-08-16 Thread Liglio
Hi, I am using mapguide open source 3.1 beta 2 version. I imported the library package from AIMS 2014 using Site Administrator Load Package. When I try to view a layer using studio 2017 I got the following error: "Fusion Error:[object Object]" and nothing appears. In my application to show the

Re: [mapguide-users] Measure tool and tooltip in Fusion

2016-08-31 Thread Liglio
RenoSun, Thanks for your help. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Measure-tool-and-tooltip-in-Fusion-tp5283159p5283373.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing

[mapguide-users] Create Raster config xml file

2016-09-01 Thread Liglio
Hi, In AIMS 2014 the raster configuration file is created automatically in studio. Now I am using MGOS 3.1 beta2 and maestro 6.0m5. Can I create the raster configuration file using a tool or I have to edit the xml from nothing ? -- View this message in context:

[mapguide-users] Registered provider 'OSGeo.Gdal.4.0' is registered with library for provider 'OSGeo.Gdal.4.1'

2016-09-08 Thread Liglio
Hi, I installed mapguide 3.1 beta 2. When I try to create a GDAL feature source, I can´t validate it. I got the following error. I checked the file GRFPProvider.dll, and the version product is 4.1.0.0 different from the providers.xml. OSGeo.Gdal.4.0 GDAL Provider FDO Raster Provider

Re: [mapguide-users] Create Raster config xml file

2016-09-04 Thread Liglio
Jackie, I can´t find this specialized editor for GDAL provider in maestro. When I click on the "Edit Configuration File" button in the GDAL feature source page, it opens a blank editor. I expect to see a xml with some attributes of the raster image (GeoTIFF) selected, like bounds, etc.. I want

[mapguide-users] Measure tool and tooltip in Fusion

2016-08-30 Thread Liglio
Hi, I don´t know if is a defect but is very hard to use the measure tool with the tooltip on. There is a simple way to disable tooltip during the use of measure tool ? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Measure-tool-and-tooltip-in-Fusion-tp5283159.html Sent

Re: [mapguide-users] Registered provider 'OSGeo.Gdal.4.0' is registered with library for provider 'OSGeo.Gdal.4.1'

2016-09-09 Thread Liglio
I changed in the providers.xml to 4.1 and restarted mgserver, but did not work (by the way, all FDOs in providers.xml are in 4.0). I don´t know where the FDO version is registered . This find/replace of 4.0->4.1 is to be made in all files of what folders ? -- View this message in context:

[mapguide-users] Studio 2016 and mapguide 3.0

2016-09-12 Thread Liglio
Hi, Does anybody know why layer and map preview doesn´t work with Studio 2016 and mapguide 3.0 ? I got an error "Fusion Error: [object Object]". I tested and got the same result with Studio 2017 and mapguide 3.1, and studio 2014 and mapguide 2.6. I like the preview to do tests. -- View this

Re: [mapguide-users] Studio 2016 and mapguide 3.0

2016-09-14 Thread Liglio
If I push the refresh button after I got error, I got error again, and nothing appears. I don´t understand why doesn´t work if the map server engine is the same as mapguide. What is missing ? -- View this message in context:

Re: [mapguide-users] change layer definition runtime

2016-09-10 Thread Liglio
The layer definition is a xml where you can modify all atributes, including featuresourceid , featureclassname, etc. Debug the code and examine the string xml layer read in the set filter method. -- View this message in context:

Re: [mapguide-users] change layer definition runtime

2016-09-08 Thread Liglio
You have to refresh the map using javascript. Put in UtilMap class: /// /// Refresh the Map in the Client using JavaScrit /// /// Page Object calling this method public void RefreshMapClient(Page objPage) { try {

Re: [mapguide-users] change layer definition runtime

2016-09-08 Thread Liglio
Hi, I made an example of a class to manipulate the atribute Filter of a layer, you can use as an example to manipulate any atribute of a layer. It´s made in c#. public class UtilMap { private string strSessionMap; private string strMapDefinition; private

Re: [mapguide-users] change layer definition runtime

2016-09-08 Thread Liglio
Put in UtilMap class /// /// Get layer object by his name in the Runtime Map /// /// Mapguide MapObject /// Layer Name /// private MgLayerBase GetLayerByName(MgMap map, string layerName) { try {

Re: [mapguide-users] change layer definition runtime

2016-10-05 Thread Liglio
I don´t know what is happening in your application. What version of mapguide are you using? You are using Fusion framework ? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/change-layer-definition-runtime-tp5284382p5289434.html Sent from the MapGuide Users mailing list

Re: [mapguide-users] Mapguide 3.0 layer permissions

2017-05-18 Thread Liglio
You must know which layers is visible for the user before opening the map, and then set these layers visible. First you must set all layers not visible at start up in the map library. -- View this message in context:

Re: [mapguide-users] Mapguide 3.0 layer permissions

2017-05-23 Thread Liglio
When you install mapguide open source, some examples and a help is installed. See the example "C:\Program Files\OSGeo\MapGuide\Web\www\dotnetsamples\modifying_maps_and_layers". The help is "http://localhost/mapguide/help/webapi/; and "http://localhost/mapguide/help/viewerapi/;. You have to code to

Re: [mapguide-users] Mapguide 3.0 layer permissions

2017-05-22 Thread Liglio
In maestro in map configuration you set layers initially not visible. When you will show the map you set the layers that you want to be visible, based on the user permissions. Do you know how to set a layer visible in your code ? -- View this message in context:

[mapguide-users] Fusion Keep-Alive Map Session

2017-11-17 Thread Liglio
Hi, I read in other posts that Fusion has a keep-alive map session mechanism. I don't know how it works, since if I let a query widget openned for more than 20 minutes the session is dropped. I can do a keep-alive code in my home task page, but what to do when using for example a query widget ?

Re: [mapguide-users] Mapguide session timeout in Openlayers

2017-11-17 Thread Liglio
Hi Klaus, I did the same approuch you did, I can get the map session timeout from mapagent (I put an alert to see it). But my map session is still expiring. I am using MGOS 3.0 and Fusion Viewer. Thanks, Liglio -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html

Re: [mapguide-users] change layer definition runtime

2017-12-27 Thread Liglio
Maybe this will help. http://osgeo-org.1560.x6.nabble.com/Mapguide-3-1-Add-layer-on-runtime-c-td5346722.html -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list

Re: [mapguide-users] Display Historival value assigned to a polygon

2018-01-04 Thread Liglio
If I use a view I will have the problem that a view has no identifier, and mapguide can't show the features. I am using Postgresql, I already tried to use FDO schema overrides but the tool gave some errors. Maybe I can assign the layer to a blank table and insert some features just for the user

Re: [mapguide-users] Display Historival value assigned to a polygon

2018-01-09 Thread Liglio
Thanks to RenoSun and Hans for your help, I used the Hans solution becouse it appears to be easier, and it works. Very clever. -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list

[mapguide-users] Display Historival value assigned to a polygon

2018-01-03 Thread Liglio
I am trying to display historical info about States of a Country. I have two tables: State (State ID, State Name, Geometry) and State Power Load (State ID, Date/Time, Power Observed, Power Predicted). To show a State color themed layer based on the deviation of Observed and Predicted, I need to

Re: [mapguide-users] Fusion Single File Compress

2018-11-23 Thread Liglio
Yes, its unchecked, but is not working. Thanks -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Fusion Single File Compress

2018-11-21 Thread Liglio
works fine. Another question. Can I use windows tools to build Fusion files ? Thanks, Liglio -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.o

[mapguide-users] Full stack development with React

2019-04-23 Thread Liglio
Hi, It is possible to do a Full Stack development with React using Mapguide ? Has anyone tried ? -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org

Re: [mapguide-users] Full stack development with React

2019-04-25 Thread Liglio
Hi, Today I use ASP.NET, and to manipulate the map I use the Mapguide .NET API . If I use Javascript, What I should use to manipulate the map? There is a Mapguide Javascript API ? Regards -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html

Re: [mapguide-users] mapAgentURL is not defined in FUSION mapguide

2019-08-05 Thread Liglio
Hi Rodolfo, Just put this line before line 1747, and mapAgentUrl variable will not be null: (don't add the mapAgentUrl Parameter to the getSiteVersion as you mentioned) var mapAgentUrl = getAgentUrl(); This will work Regards -- Sent from:

Re: [mapguide-users] mapAgentURL is not defined in FUSION mapguide

2019-08-08 Thread Liglio
Rodrigo, fusionSF.zip Try the fusionSF.js file I use (I also use Mapguide 3.1.2). See the link. Regards -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html

Re: [mapguide-users] mapAgentURL is not defined in FUSION mapguide

2019-07-31 Thread Liglio
Rodolfo, Debug the FusionSF code to know where is the exact point, and copy here. Regards -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org

Re: [mapguide-users] mapAgentURL is not defined in FUSION mapguide

2019-07-23 Thread Liglio
Hi, I got the same error. I changed the file FusionSF.js at line 1710 the original was: var fetchAppDef = function appDefUrl, sessionId, onAppDefFetched) { var xhr = getXmlHttpRequest(); xhr.open("GET", mapAgentUrl + "?OPERATION=GETRESOURCECONTENT=1.0.0=en=MapGuide+Developer=" +

[mapguide-users] Mapguide 4.0 .ET Framework

2019-09-19 Thread Liglio
Hi, Which .NET framework must be used against Mapguide 4.0 ? Regards -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org

Re: [mapguide-users] AWS RDS PostgreSQL FDO error (permission denied to pg_authid)

2019-11-12 Thread Liglio
Hi, Where can I find the source code of FDO 4.1 used againt mapguide 3.1.2, to change the use of table pg_authid for pg_roles ? -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list

[mapguide-users] AWS RDS PostgreSQL FDO error (permission denied to pg_authid)

2019-11-11 Thread Liglio
Hi, I am trying to connect mapguide 3.1.2 to a AWS RDS PostgreSQL, but when using maestro I got a FDO error "permission denied to pg_authid". A RDS instance does not permit that the user "postgres" be a superuser, instead the rdsadmin is the superuser. It is possible to make some workaround to

Re: [mapguide-users] Mapguide with SSL HTTPS

2019-12-03 Thread Liglio
HI Jamo, I got the same problem. I tried https://localhost/mapguide/mapagent/mapagent.fcgi , but did not work. How did you solve it ? Thnaks -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing

Re: [mapguide-users] AWS RDS PostgreSQL FDO error (permission denied to pg_authid)

2019-12-15 Thread Liglio
Hi Jack, I downloaded the FDO 4.1 and made the change myself and builded a windows x64 PostgreSQLProvider.dll. It is working. Unfortunally I saw this post to late, It would save me a lot of work, it was no easy to make the build. Thanks -- Sent from:

Re: [mapguide-users] Mapguide with SSL HTTPS

2019-12-03 Thread Liglio
Gordon, Thanks for the answer. It worked. -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] AWS RDS PostgreSQL FDO error (permission denied to pg_authid)

2019-11-11 Thread Liglio
Jackie, Thanks to your quick response. So I will have to wait until they send a new release with this correction. -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list

[mapguide-users] Fusion Error in version 3.1.2 and 4.0 preview 1

2019-09-24 Thread Liglio
Hi, I installed the two versions and got the same error "Uncaught ReferenceError: mapAgentUrl is not defined". I modified the index.html to load FusionSF.js to see the exact location of the error, and in both versions is the same location. var getSiteVersion = function(sessionId, callback) {

[mapguide-users] Mapguide 3.1.2 Hangs

2020-02-13 Thread Liglio
Hi, My app is running on a windows server 2019, mapguide 3.1.2, Fusion Viewer and postgresql 11.5. It keeps refreshing the map on a time basis (last Period time 1 hour, interval 5 minutes) every 10 seconds filters some layers. After running several hours (more than 30 hours) it hangs and I got

Re: [mapguide-users] Mapguide 3.1.2 Hangs

2020-02-25 Thread Liglio
Hi, Now I know where thr error occurs. After several hours filtering layers, I got the error "Failed to retrieve message for "MgConfigurationException"." at siteConnection.Open(userInfo); The next code is at UtilMap class creation. This class is used to manipulate map layers, like filter, etc.

Re: [mapguide-users] Mapguide 3.1.2 Hangs

2020-02-29 Thread Liglio
Hi, Thanks to your response. I put in dispose all the Mg elements, after using them, and I still got the error at the siteconnection open. I have this code running at a MapServer Infrastructure 2017 without a problem (and not disposing Mg classes). Any thoughts ? -- Sent from:

Re: [mapguide-users] Mapguide 3.1.2 Hangs

2020-03-04 Thread Liglio
Hi, Thanks to your replay. The binaries are updated, I copied the dlls from the mapguide 3.1.2 installation. The error is related to the mapguide configuration file. I inspected the original file webconfig.ini enconding and it is US-ASCII not UTF-8, so I changed it to UTF-8. I am performing a

  1   2   >