Re: [mapguide-users] HttpApi doc improvement

2017-01-11 Thread David Hequet
Ok i undestand, I don't have a knowledge of the mapguide source code, but i can analyse when i need and add what i undestand to the doc. Can you tell me where is the entry point of HttpApi in source code? Thank you ps: i think there is no plan to move to ,github? -- View this message in cont

[mapguide-users] HttpApi doc improvement

2017-01-10 Thread David Hequet
Hi, http://trac.osgeo.org/mapguide/wiki/HttpApi With usage of createRuntimeMap, MapGuide can be a good datesource for javascript viewer like OpenLayers. Unfortunaly the HttpApi Doc is not weel completed or up to date. I think MapGuide can gain lot of new users with doc improvment. Thank you, Da

Re: [mapguide-users] impersonate mapagent to server

2017-01-10 Thread David Hequet
Ok i see what you can do building your own mapagent.. But not sure that it can help me. I don't know how you can impersonte the final MgHttpRequest and mapserver to use it. My idea was that the final process ("mapserver.exe" service) know who i am. So Oracle know who i am. Basic usage: in a view

Re: [mapguide-users] impersonate mapagent to server

2017-01-09 Thread David Hequet
thank you, i will give it a try -- View this message in context: http://osgeo-org.1560.x6.nabble.com/impersonate-mapagent-to-server-tp5298061p5302618.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list

[mapguide-users] impersonate mapagent to server

2016-11-30 Thread David Hequet
Hi, I trying to do something tricky: I have two windows server: - IIS webserver with mapagent, with windows authentication - Application server for MapGuide Can this be done? When the user open a map (juste using basic weblayout and viewer), send the user windows credentials to the mapguide se

Re: [mapguide-users] Mapguide 3 Tileset coordinates system

2015-07-30 Thread David Hequet
Too bad :/ My openlayers map are declared in my local EPSG. I'm stuck with old Tile method. Thank you, David -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-3-Tileset-coordinates-system-tp5217299p5217729.html Sent from the MapGuide Users mailing list archive at N

[mapguide-users] Mapguide 3 Tileset coordinates system

2015-07-28 Thread David Hequet
Hi, I read that the tilesets XYZ only support EPSG:3857 coordinates system. Do you plan to support other CS like the "standard" tileset ? thank you, David -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-3-Tileset-coordinates-system-tp5217299.html Sent from the Ma

Re: [mapguide-users] multiple mapguide instance on win64 / .net development environment

2015-06-29 Thread David Hequet
I forgot, i have no serveur on my workstation, only mapagents -- View this message in context: http://osgeo-org.1560.x6.nabble.com/multiple-mapguide-instance-on-win64-net-development-environment-tp5211386p5213342.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] multiple mapguide instance on win64 / .net development environment

2015-06-17 Thread David Hequet
Hi, I'm working on multiple applications web application using 2.3,2.4,2.5 mapguide version. i put the mapguide path of current application in development in windows path. When i want to switch to another application i have to change the value in path, that's ok, but i need to reboot windows to

Re: [mapguide-users] Tips : Error connecting AIMS to SQLSERVER

2013-08-27 Thread David Hequet
So i can't check the value if Maestro doesn't store as plain text :) i tryed downloading the MG_USER_CREDENTIALS files attached to the feature source but it doesn't contains password :) -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Tips-Error-connecting-AIMS-to-SQLSERVER

[mapguide-users] Tips : Error connecting AIMS to SQLSERVER

2013-08-27 Thread David Hequet
Hi, Here is two tips about connecting MapGuide / Aims through Sql provider: 1) Error listing Data Store : Your username can't connect to all datastore but has "public" role that give him the right to list all datastore. Don't know why, but MG try to connect all. Save your connection with the cr

Re: [mapguide-users] Python user scripts for MapGuide Maestro 5.0

2013-08-09 Thread David Hequet
eheh, needed to update schema too, so i wrote this simple one :) -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Python-user-scripts-for-MapGuide-Maestro-5-0-tp5067941p5071747.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

Re: [mapguide-users] Zoom to Extents

2013-08-08 Thread David Hequet
If you're map contain's base layer , the zoom will adjust to one of the fixed zoom level. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Zoom-to-Extents-tp4203098p5071486.html Sent from the MapGuide Users mailing list archive at Nabble.com.

Re: [mapguide-users] mapguide 2.4 sql server spatial feature source - can't select the data store and can't use join extensions

2013-08-08 Thread David Hequet
Hi, Did you solved this one? The server principal «myUser» is not able to access the database «OneOfTheDatabasesInTheServer” under the current security context I think it is security related problem but i'm not familiar with sql server. David -- View this message in context: http://osgeo-or

Re: [mapguide-users] Error on insert features into SQL Server Spatial

2013-08-08 Thread David Hequet
Ok, Tried to update AIMS 2013 to SP1 but it didn't include that. Wonder if my customer would to use aims 2014 :) Thank you, David -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-on-insert-features-into-SQL-Server-Spatial-tp4987600p5071484.html Sent from the MapGuid

Re: [mapguide-users] Python user scripts for MapGuide Maestro 5.0

2013-08-07 Thread David Hequet
Hi,Here is a simple script based on your to update all your layers featuresource from one to another (e.g. : all your layers feature source from dev environnement to production environnement) .It only change the source, you have to use the same schema in your environnements.It check if the layer fe

Re: [mapguide-users] Error on insert features into SQL Server Spatial

2013-08-07 Thread David Hequet
Hi, I'm getting this error with infrastructure map server 2013, it use FDO 3.7 but i don't know if it use the patched version of Mapguide's core. Does someone know? I have tested this on both fdo enabled/not enabled database. Tried with Id columns as identity and as simple columns (providing id d

[mapguide-users] Re: targeting tile to delete

2012-03-02 Thread David Hequet
Looks good! thank you -- View this message in context: http://osgeo-org.1560.n6.nabble.com/targeting-tile-to-delete-tp4535625p4539197.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@li

[mapguide-users] targeting tile to delete

2012-03-01 Thread David Hequet
Hi, I'm using basemap with tiled cache, but some data are updated each week. My users would like to see fresh data, so my solution is to calculate wich tile to delete when data is updated. Do you know a method to calculate tile name (-1_2.png) and tile directory (R-0 ...) for each scale? Thank

[mapguide-users] Modify Map with base layers before load?

2012-01-10 Thread David Hequet
Hi, Actually i'm modifying my map before load by copy in session repo before loading the weblayout the steps ares: - copy wl in session - copy mapdefinition in repo - add layer to mapdef - update wl map resid I need to use base layer for some performance issue, but copying the map to the session

[mapguide-users] [SymbolDefinition]

2010-07-21 Thread David Hequet
Hi, I succefully made some custom symbolDefinition for my maps ( point geometry with information popup like googleMap..). But i noticed that the selection is restricted to an Area around the insertion Point, is it possible to extend the selection area to the whole symbol, do i missed a params?

[mapguide-users] Re: Ajax Viewer and Digitizing - may be a bug

2010-07-15 Thread David Hequet
you can use setTimeout(myScript,500) in the invokeScript instead of myScript. myScript is delayed of 500 ms and the digitizer start on your next click -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Ajax-Viewer-and-Digitizing-may-be-a-bug-tp2216718p5297742.html Sent from

[mapguide-users] Re: Generate a pdf view of the current map

2010-07-07 Thread David Hequet
Hi, If you want good quality pdf, you have to code it! Using ths API you can render image and embed it in pdf using pdf tools (look at itextsharp pour C# or tcpdf for php). One good trick to simulate good looking pdf is rendering "big image" that you embed in your pdf, IE: calculate the image si

[mapguide-users] [Custom SymbolDefinition]avoid Point symbol used for line

2010-05-05 Thread David Hequet
Hi, I'm trying to use SymbolDefinition in two ways: - Custom symbols for points - Custom line style for line. I'm using an Oracle datasource, the feature class contains Point and Line data. My custom line style works fine, My custom point style works fine.. when there is no line data in the ta

RE: AW: [mapguide-users] How to use Custom LineStyle

2010-05-05 Thread David Hequet
ps: lots of sample and informations can be found here: http://trac.osgeo.org/mapguide/wiki/AdvancedStylization http://trac.osgeo.org/mapguide/wiki/AdvancedStylization -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/AW-mapguide-users-How-to-use-Custom-LineStyle-tp5003379

[mapguide-users] Re: Plot Dwf Files

2010-05-05 Thread David Hequet
As i remember the dwf plot use your local setting and need something like space as thousand separator (i had an issue like this on french operating system). try looking at scale number format.. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Plot-Dwf-Files-tp4969570p50089

RE: AW: [mapguide-users] How to use Custom LineStyle

2010-05-05 Thread David Hequet
Working link for designing it : http://www.rand.com/imaginit/1/pdfs/technology/software/building_symbol_libraries_with_autodesk_mapguide_enterprise_2009.pdf http://www.rand.com/imaginit/1/pdfs/technology/software/building_symbol_libraries_with_autodesk_mapguide_enterprise_2009.pdf Here is a s

[mapguide-users] RE: ForegroundColor from FDO property

2010-03-25 Thread David Hequet
Hi, As Traian answered to me, it don't work if you have hex value in your column, you have to translate value to decimal in your database, not int layerdefinition. Ie: if you replace youre FF00 value by 4278255615 in your database , you will see the good color I don't think that the "ToInt32

[mapguide-users] RE: ForegroundColor from FDO property

2010-03-12 Thread David Hequet
Thanks! It works! Note: the FDO property containing the "integered" color must be a string property type. I tried with double or int64 property type, doesn't work. David -- View this message in context: http://n2.nabble.com/ForegroundColor-from-FDO-property-tp4708122p4721339.html Sent from th

[mapguide-users] RE: ForegroundColor from FDO property

2010-03-11 Thread David Hequet
oh sorry: juste try to edit xml with maestro to have Solid myFdoProperty FF00 instead of: Solid FF00 FF00 where "myFdoProperty" is a string colu

[mapguide-users] ForegroundColor from FDO property

2010-03-10 Thread David Hequet
Hi, When you create a mapguide layer, you can set some symbolization using FDO properties (eg: set a point angle from the "Rotation" column from an oracle table, line thickness...). Is theyr a way to set text symbolization like foreground color using properties? I tried to do it manualy by editi

[mapguide-users] [ajaxViewer] Digitizer mouseUp problem with IExplorer7 / IE8 ("patch included")

2009-10-28 Thread David Hequet
When you use the viewer api (DigitizeRectangle...) with IExplorer 7/8, on mouseUp you're callback function is thrown but the "mouse" is not well released. I explain: the digitizer work, call the callback function, but the mouse seems to be "traped" in the mapspace: when i move the mouse pointer i

[mapguide-users] [ODBC provider] Select within

2009-08-11 Thread David Hequet
Hi, i'm using the Select Within tool and i encountered a problem with Point on ODBC layers: the "select within tool" (and also the spatial operators used via API) does not perform a "select within" operation but an "Envelope Intersects". Can we bypass this? thank you, David -- View this messa

Re: [mapguide-users] [FIREFOX 3.5] Double click bug?

2009-07-23 Thread David Hequet
n you double click on > features only, not on any region of the map. For points and lines, the > cursor has to be right on top of the feature and very often, that's not > the case. That's why it might seem it doesn't work. This is not exclusive > to Firefox, though. > &

[mapguide-users] [FIREFOX 3.5] Double click bug?

2009-07-22 Thread David Hequet
Hi, I'm experiencing a strange issue only on Firefox 3.5 ("only firefox 3.5" mean that i don't have this issue on IE6,7,8, Chrome and Firefox 3) and Ajax viewer. I override the ajaxmappane.tmpl's OnDblClick function (or simply add an "alert") and it works perfectly. But when i activate some laye

Re: [mapguide-users] MGE 2010: fusion pre-authentication (autologin) no longer works

2009-06-09 Thread David Hequet
Hi, i'm experiencing the same issue: MGE 2010 With Firefox 3.0.6 or 3.0.10 don't use the session parameters. Did you find a solution? David Hequet Jani Forssell wrote: > > Hi, > > We're using the standard Fusion authetication code that opens a > connectio

RE: [mapguide-users] Oracle FDO and View

2009-05-20 Thread David Hequet
a MATERIALIZED VIEW and > index it > then? > > thanks > gordon > > > > David Hequet wrote: >> >> Hi, >> >> Features can be selectable if you add primary key to your view > (MapGuide >> need Primary key on all feature to be selectab

Re: [mapguide-users] Oracle FDO and View

2009-05-20 Thread David Hequet
ctable (FDO 4.3). This is true for both the Autodesk Oracle Provider > AND the KING one.. > > thanks > gordon > > > David Hequet wrote: >> >> Hello, >> >> About this case i'm using Autodesk Mapguide Enterprise 2008 with Autodesk >> Sp

[mapguide-users] Using MapGuide on multi-core server?

2009-01-09 Thread David Hequet
Hi, I have a customer who wan't to improve MapGuide perfomance. He want to install it on a server with 16 cpu cores. Does MapGuide profit from that? Ps: the OS is Window 2003 server Thank you, David -- View this message in context: http://n2.nabble.com/Using-MapGuide-on-multi-core-server--tp2

re[mapguide-users] sourceservice.resourceexist

2008-08-05 Thread David Hequet
Hi, I'm using MapGuide 2.0.1 with C#. The Api method ResourceExist return a "not yet implemented" error. So i made my own "resourcexist", method using ResourceService.GetResourceContent(resId) with an error handling. like this: try resourceService.getResourcecontent(resid) return true ca

Re: [mapguide-users] [Red Hat 4 MGOs 2.0.1] Raster issue (always raster...)

2008-07-03 Thread David Hequet
No i didn't try these changes. I think i will try next week. There is no "data" solution? zspitzer wrote: > > have you tried the changes in http://trac.osgeo.org/mapguide/ticket/610 ? > > On Thu, Jul 3, 2008 at 8:35 PM, David Hequet <[EMAIL PROTECTED]&g

[mapguide-users] [Red Hat 4 MGOs 2.0.1] Raster issue (always raster...)

2008-07-03 Thread David Hequet
Hi, We have compiled a MGOS 2.0.1 server on Linux, raster support works, but only with "small image" I have an aerial photography with tiled tiff : about 70mb each. It don't show nor crash If i compress the tiff (with Autodesk Raster Workshop) at 4mb or less each: MapGuide renders the images. I

Re: [mapguide-users] auto-computing map extents

2008-03-04 Thread David Hequet
your own ZoomExtent method when the map is loaded Beware of MGselection->GetEnveloppe (i don't remember the syntax), I had a lot of Server Crash. It happen on know polygon but i don't know why (depend on FDO provider? Or altered Oracle database..) David Hequet Jackie Ng wrote: >

[mapguide-users] knowing active tool?

2007-08-10 Thread David Hequet
Is there a simple method to know the viewer current active tool (DWF or AJAX)? -- View this message in context: http://www.nabble.com/knowing-active-tool--tf4247298s16610.html#a12087211 Sent from the MapGuide Users mailing list archive at Nabble.com. ___

Re: [mapguide-users] [Ajax viewer Bug] "offset" in displayed image

2007-08-08 Thread David Hequet
10) > > When you leave the properties pane enabled the offset is correct. > > I did not post it as a bug until now. > > Kind regards, > Ismaël > > > David Hequet wrote: >> >> Hi, >> >> There is a bug in displaying map image in the Ajax

[mapguide-users] [Ajax viewer Bug] "offset" in displayed image

2007-08-08 Thread David Hequet
Hi, There is a bug in displaying map image in the Ajax Viewer: Look at this screenshot, the image is cut on the top. http://www.nabble.com/file/p12050259/MGVIEWER_OFFSETERROR.jpg this "offset" is really anoying: - the image is not well displayed - but the mouse coordinates are catched without

[mapguide-users] WebserverExtension <-> MapguideServer dialog question

2007-08-01 Thread David Hequet
Hi, I have a few question about WebServerExtension and MapguideServer Dialog protocol: 1) Which dialog protocol use WebServerExtension when it ask MapGuideServer for a map? I Think it's standard TCP-IP, can you confirm? 2) I have to try a configuration like this: - 1 server with IIS, WebServerEx

Re: [mapguide-users] Localization

2007-07-25 Thread David Hequet
There is a localized folder under WebServerExtension\www Here you can copy ,rename and modify the "en" file with an application like notepad. Rename it as you need then when you will call a layout use: http://localhost/mapguide/mapviewerajax/?WEBLAYOUT=Library://myLayout.WebLayout&LOCALE=XX inste

Re: [mapguide-users] modifying map before the WebLayout loads

2007-07-20 Thread David Hequet
an the MapDefinition. > I belive the viewer will overwrite any existing runtime maps. > > Regards, Kenneth, GEOGRAF A/S > > > > > David Hequet skrev: >> Hi, >> >> I'm using Mapguide Enterprise 2008 / MGOS1.2 and i can't solve this: >> >&

[mapguide-users] modifying map before the WebLayout loads

2007-07-20 Thread David Hequet
Hi, I'm using Mapguide Enterprise 2008 / MGOS1.2 and i can't solve this: I have a frame containing mapguide viewer. This frame performs VB.net scripts that initialize the Session and eventually modify the mapdefinition (setting filter's on layer..) I can Access the map before the WebLayout Load

Re: [mapguide-users] How can we make the changes stored in the map in programming methods ?

2007-07-11 Thread David Hequet
Service to do some modifications. > But I get confusion in how to save the map. > I try 3 save methods, but I still got some error exceptions. > > Could you provide me some specific method in how to create & save map > status > permanently ? > Or, could you give me a complet

Re: [mapguide-users] How can we make the changes stored in the map in programming methods ?

2007-07-09 Thread David Hequet
To make changes permanent you have to work in Library repository insteed of Session repository, here is a php sample, after a modification, we save the layer : IN SESSION: // modification here.. $byteSource = new MgByteSource($layerDefinition,strlen($layerDefinition)); $byteSource->SetMimeType(Mg

[mapguide-users] Oracle FDO and View

2007-07-09 Thread David Hequet
Hello, About this case i'm using Autodesk Mapguide Enterprise 2008 with Autodesk Spatial Oracle FDO. One of the new feature is "using Oracle View" I tried to use a view with geometry, it work, but features can't be selectable! I make them selectable in Studio but they are not, either in dwf or aj

Re: [mapguide-users] How to show a map (PHP)

2007-06-26 Thread David Hequet
hout the task frame anf tool bar. But I need it with > out the property window. > > Thanks David, > Anil > > David Hequet wrote: >> >> Look at the Tutorial provided with Mapguide Studio to create an entire >> map from Data to Weblayout. >> The look

Re: [mapguide-users] How to show a map (PHP)

2007-06-26 Thread David Hequet
brary://22/mapa.MapDefinition"); >> $map->Save($resourceService, $mapDefId) >> >> but it doesn't work :( I have this MapDefinition predefined in Weblayout. >> I only need to save the created MgMap to a existing MapDefinition in >> Library.. >> >&

Re: [mapguide-users] How to show a map (PHP)

2007-06-25 Thread David Hequet
Look at the Tutorial provided with Mapguide Studio to create an entire map from Data to Weblayout. The look at the "Hello Map" sample in devguide (you can download it here) that is a working php sample wich show a Map Ps: You can't show a map in a browser, you can only show a weblayout. The Tutori

Re: [mapguide-users] Getting all object Enveloppe

2007-06-07 Thread David Hequet
eavily on the provider. > > If you have a lot of features/layers, I would probally be a perfomance > killer doing it manually. > > Regards, Kenneth, GEOGRAF A/S > > > > David Hequet wrote: >> and about "Select Envelope(geometry) from datasource" >

Re: [mapguide-users] FDO provider for shape files!

2007-06-07 Thread David Hequet
You can "read" data with a minimum of two resource: data resource and layer resource. SHP with Autodesk Mapguide studio: 2 way: 1) drag your shp into a library path, a dialog frame ask you about import it and transform it into SDF3 file or keeping it as shp 2) use a xml file and the Mapagent Set

Re: [mapguide-users] Getting all object Enveloppe

2007-06-07 Thread David Hequet
velope() method. > > Regards, Kenneth, GEOGRAF A/S > > > David Hequet wrote: >> Arg, i was so close of my goal >> >> I think i have to take a look on your idea because of MGSelection seems >> to >> have a limit. >> >> here is my code: &g

Re: [mapguide-users] Getting all object Enveloppe

2007-06-06 Thread David Hequet
t; Other than this, I don't think you can optimize it anymore, as you need > to execute the query on each layer. > > I think there is a "Get Extents" on the feature source, but I can't find > it. And I don't think it works on filtered datasources. > > Perhaps

Re: [mapguide-users] Getting all object Enveloppe

2007-06-05 Thread David Hequet
calculated. >> You might provide your own extension here that updates the orgExt >> variables. >> >> If you wan't it to work with an unmodified server, you have to update >> these >> variables some other way. >> If you wan't it to work with

Re: [mapguide-users] Getting all object Enveloppe

2007-06-05 Thread David Hequet
I think there is a "Get Extents" on the feature source, but I can't find > it. And I don't think it works on filtered datasources. > > Perhaps you can execute the query with some SQL optimizations like > "Select Envelope(geometry) from datasource". >

[mapguide-users] Getting all object Enveloppe

2007-06-04 Thread David Hequet
Hello, I'm trying to make a fonction that can return me the enveloppe of the entire visible map (no way with original map extent). Explain: I have a map "template" with a lot of layers, i have a function that change all the layer filter (basic filter, no spatial) to see different map based on th

Re: [mapguide-users] Zoom to Extents

2007-05-31 Thread David Hequet
I'm trying do the same thing with the DWF viewer. If you are using the ajax viewer, look at the "ZoomSelection()" in "ajaxmappane.templ" file. This method ask the mapagent for the selecion extents, calculate the scale, then use ZoomToView(). But with the DWF viewer, i found no tricks to reproduce