Re: [mapguide-users] Modify mapdefinition in a layout

2009-04-01 Thread Kenneth Skovhede, GEOGRAF A/S
Perhaps the problem is that you are in a "wrong" session somehow? Instead of connecting to a session, you are creating one? Regards, Kenneth Skovhede, GEOGRAF A/S euskalmap skrev: Sorry, number line 65 Hi, Effectifly i have send bad tests. Sorry !! You can see the new files here : http://pat

Re: [mapguide-users] Modify layout information with code

2009-04-01 Thread Kenneth Skovhede, GEOGRAF A/S
The MapGuide API only exposes the WebLayout and MapDefinition as Xml, so you basically have to read the xml (using GetResourceContent) and write it back (using SetResource). I have made an API for dealing with this in .Net, and an example can be found here: http://trac.osgeo.org/mapguide/wiki

Re: [mapguide-users] Maestro Login failed

2009-04-01 Thread Kenneth Skovhede, GEOGRAF A/S
Can you get a subcode for the error number? http://support.microsoft.com/kb/907273 What url do you use? Regards, Kenneth Skovhede, GEOGRAF A/S SandraH skrev: Hello, I installed MgServer and MgWebServerExtensions on Windows Server 2003. I can open the Webstudio, Site Administrator and MapG

RE: [mapguide-users] Exception in Filter Options

2009-04-01 Thread Jamo
string operator instead? just guessing haven't checked. queryoptions.SetFilter("PARCEL_ID LIKE '785_1000' OR PARCEL_ID LIKE '708_584')") ? Hi, Parcel_ids are strings thats y i kept it in single quotes but i got an error can any body plz help me Are the PARCEL_IDs strings

Re: [mapguide-users] Get Identity Properties

2009-04-01 Thread Jamo
Incase anyone is interested I figured it out... I no longer have to hard code what the identity property is . the following will read the feature reader and return the identity property allowing me now to create more dynamic commands :) I haven't filled in all the select cases as I'm not sure

Re: [mapguide-users] Draw Circle

2009-04-01 Thread A H
i need help with this too. Hi Kencana, I remember u telling me that you have figured out how to draw a circle. Could you please give me some tips on this? For example, in the OnCircleDigitized(Circle) method, what all attributes do we need to get from the circle and using what methods? I could

[mapguide-users] FDO toolbox help

2009-04-01 Thread Rodolfo Moreno
Hi Jackie, I am trying to use this tool in order to convert shp to sql2008. I wanted to connect to sql2008 database but with no success. I have attached a screenshot with the error that I got it. I am using the 0.7.1.2118 version. could you help me with it? thanks in advance, - Rodolfo Mor

RE: [mapguide-users] Exception in Filter Options

2009-04-01 Thread Warren Medernach
Are the PARCEL_IDs strings or numbers? If they are numbers, I'm thinking the statement should not have the single quotes? queryoptions.SetFilter("PARCEL_ID in (785_1000,708_584)") Warren M -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@list

RE: [mapguide-users] KingOra 8.7 - view w/geometry w/out underlingtable

2009-04-01 Thread djonio
Good point!! I will give that a try first thing tomorrow and will let you know. (Now I wonder if I can create a spatial index on a "virtual" thingee ... may be interesting) r, dennis -- View this message in context: http://n2.nabble.com/KingOra-8.7---view-w-geometry-w-out-underling-table-tp2

RE: [mapguide-users] KingOra 8.7 - view w/geometry w/out underlingtable

2009-04-01 Thread Haris Kurtagic
Hm, perhaps spatial index. If you could trace and see what sql statement are executed and try them on your own. If I remember correctly that could be also diff. between how data is accessed in Map3d and MG. Haris -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapgu

RE: [mapguide-users] KingOra 8.7 - view w/geometry w/out underling table

2009-04-01 Thread djonio
Haris, I thought that issue through also and created a "map" and added this layer along with some other known functional layers. Still no luck. I then went ahead and created a weblayout(assuming it is/was a MG Studio issue) still no rendering. r, dennis -- View this message in context: htt

RE: [mapguide-users] KingOra 8.7 - view w/geometry w/out underling table

2009-04-01 Thread Haris Kurtagic
First thing which comes to my mind are extents. Setting correct map extents in MG. Map3d will run Select Aggregates to get extents while MG will not. Haris -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of djonio S

[mapguide-users] KingOra 8.7 - view w/geometry w/out underling table

2009-04-01 Thread djonio
Haris and/or others, I have a view based upon the extents found within "all_sdo_geom_metadata". It constructs the "GEOMETRY" column based upon the upper and lower bounds found in DIMINFO. A nice rectangular polygon surface. All is well with the world. I have added this view to all_sdo_geom_meta

RE: [mapguide-users] Rendering defect?

2009-04-01 Thread Dave Wilson
Ok that makes sense. At least the user can test your option. I still think an enhancement request should be logged for this as I've seen this mentioned before. I recall discussing the same question with Bob Bray about 2+ years ago. I'm not sure users really expect to see the border and I'm gues

RE: [mapguide-users] Rendering defect?

2009-04-01 Thread Traian Stanev
If the polygon is clipped geometrically before rendering, like we see in the screenshot, there will be a border. If it is not clipped geometrically before rendering, like when one uses the RenderMap API, then there will not be the artifact we see. I understand that it is undesirable to see the

RE: [mapguide-users] Rendering defect?

2009-04-01 Thread Dave Wilson
I don't think the issue is so much about the clipping, it's about the false border that's introduced. Users don't want a false border on the clipped polygon. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf O

RE: [mapguide-users] Rendering defect?

2009-04-01 Thread Traian Stanev
There are APIs in the rendering service for both clipped and unclipped rendering. RenderDynamicOverlay clips, while RenderMap doesn't. I'm not sure which one Fusion uses though. You can try manually issuing a RenderMap to see if you get the result you want. Using the un-clipped rendering carrie

RE: [mapguide-users] Rendering defect?

2009-04-01 Thread Andreas Morf
Exactly, that's what I wanted to express - I'm not an native speaker I want to be able to switch off that current behavior of MG Andreas > -Original Message- > From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users- > boun...@lists.osgeo.org] On Behalf Of Dave Wilson > Sent:

[mapguide-users] Select an object on a layer, when generating the map initially

2009-04-01 Thread Beverage
Afternoon all, I'm trying to find out if it is possible to select an object on a layer, which is generated when the map is first created. Basically, I'll calling the map which then loads the map and filters a couple of layers, but at the same time I want it to select an object on one of the l

Re: [mapguide-users] Mapguide without Apache

2009-04-01 Thread alucas
I'm working with eclipse as Development environmet in my local machine. Every developer has his own webserver extensions installed and configure an eclipse server project pointing to the mapguide tomcat installation. The database and mapserver service are installed in another server. This way,

RE: [mapguide-users] Rendering defect?

2009-04-01 Thread Dave Wilson
To clarify, Are you saying that around the borders of the frame an edge is generated for the polygon even though the polygon extends past the visible region of the frame suggesting to the user that the polygon is completely visible when it's actually not? I would argue this is a design deficie

RE: SPAM-LOW: [mapguide-users] Raster files

2009-04-01 Thread Traian Stanev
To add another data point to this, I recently did something similar, but I chose a different approach. I used gdal to combine all the raster files into one big tiff, and then made an overlay pyramid for that TIFF as well. This way, there is no need for the configuration file or tile index. Howev

[mapguide-users] Rendering defect?

2009-04-01 Thread Andreas Morf
There is a strange behaviour of MGOS 2.0.2 when rendering polygons with a : clipped edges of the polygons (which may be borders of the map in a fusion-viewers) are also drawn according the instructions in the of the . In my opinion this is not a correct behavior of the rendering service! Attached

RE: SPAM-LOW: [mapguide-users] Raster files

2009-04-01 Thread Andy Morsell
You can create a GDAL raster datasource that points to the root of a directory. If you then create a layer from that datasource, all images in that folder will be included in the layer rendering. For performance, it is best to create a tile index. MapGuide Maestro makes this step fairly easy.

Re: [mapguide-users] Mapguide without Apache

2009-04-01 Thread alucas
Hello, Yes, you can but you need to do some steps. 1. Modify www/WEB-INF/web.xml to add cgi support: cgi org.apache.catalina.servlets.CGIServlet debug 6

Re: [mapguide-users] Popup window

2009-04-01 Thread Stefan Dalakov
I am still not quite sure what you are trying. I understand now that you want to select a parcel, retrieve data for it and open a window, using some of its parameters, or update them. This can be found step by step in MG Developer's Guide (DevGuide.pdf, which you have with your installation) - p

[mapguide-users] Layer Scale and Map Rendering

2009-04-01 Thread TravisBrannon
Hi folks, I am writing an application with a custom viewer to an MGOS backend, and I am having some problems with the ScaleRange with layers - the Roads layer in the Sheboygan map specifically, as this is the map I am using to test and develop with. When I first intialize the map, I check the

[mapguide-users] Map Background - Transparent

2009-04-01 Thread Berdel, Brian
Is there any way to make the background of a map transparent? Thanks, Brian ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide without Apache

2009-04-01 Thread patxmay
Hi, I have this problem with IIS under windows :i do not see the map; to resolve the problem i have change a parameter in the virtual directory in IIS : i have create an application because the mapguide installer do not make. regards Hi all, it is posible use Mapguide without Apache, only with

[mapguide-users] Modify layout information with code

2009-04-01 Thread patxmay
Hi, If anonymous, are you trying to modify a resource in the weblayout in the site repository or the session repository? For example i have one layout and many map; i want change the resource map of the weblayout with .net or php code. Thanks -- View this message in context: http://n2.nabb

[mapguide-users] Mapguide without Apache

2009-04-01 Thread Micho Gar
Hi all, it is posible use Mapguide without Apache, only with Tomcat?. We are triying but don´t see the map, only the rest of controls. Thanks. -- # michogar # Analista Programador SIG # GNU/Linux Counter 462666 Una visión personal: http://michogar.blogspot.com El dia a dia: http://twitter.com/

Re: [mapguide-users] Popup window

2009-04-01 Thread padmini godavarthi
Hi, Thanku very much for ur reply. really thanks once again because i could not find the path for this popup window Actually my requirement is that i need to save the owner image of that particular parcel (polygon) in the layer. so i thought i put a owner icon on taskbar while clicking that

[mapguide-users] Exception in Filter Options

2009-04-01 Thread padmini godavarthi
Hi, iam using mapguide opensource 2.0 (with .net 2.0 +IIS 5.1) While applying filter in queryoptions as Dim areaRuleTemplate As String = File.ReadAllText(GetThemeXmlTemplatePath()) Dim queryoptions As MgFeatureQueryOptions = New MgFeatureQueryOptions() q

Re: [mapguide-users] Popup window

2009-04-01 Thread Stefan Dalakov
Have you tried this : 1. Place the links to be activated in a field 2. In studio or Maestro, in Layer definition, set this field against "URL activated for feature". Then in viewer when you place the pointer on top of the feature you will see "Ctrl+click to open link .. No need to say that y

[mapguide-users] Maestro Login failed

2009-04-01 Thread SandraH
Hello, I installed MgServer and MgWebServerExtensions on Windows Server 2003. I can open the Webstudio, Site Administrator and MapGuide Agent. I tried to login with Maestro, which I installed on an Windows XP PC. I used the same entries for Server, Username and Password as I used with MapGuide

[mapguide-users] Raster files

2009-04-01 Thread Stefan Dalakov
Hi all, I had several applications using raster files up to now, but they were all using just few images and I used to create a feature source and layer file for each of them, the data resource having a configuration file like the one below. Now I need to display more files - perhaps up to 200

RE: [mapguide-users] after query generate a report

2009-04-01 Thread Daniel Du
Hi What kind of report do you want? A HTML table? Here is a code snippet to generate a html table from a MapGuide query result .You can also generate a pdf by calling pdf realated API, I think it is nothing related to MapGuide API any more. String layerFeatureIdString = layer.GetFeatureSource

[mapguide-users] after query generate a report

2009-04-01 Thread Spencer Trevor
hi there, do anyone have a sample or a code to generate a report? what i want to do is, first i want to do a simple query and then i want to generate a report base on the query that i have perform earlier. do anyone have a sample or a code to generate a report? thank you in advance. regards. Sp

RE: [mapguide-users] Popup window

2009-04-01 Thread padmini godavarthi
Hi, no seriously!! i didnt know to invoke pop up window i tried a lot but iam unable to do it. Thanks Padmini. I tought that was 1st April joke :) -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of

RE: [mapguide-users] Multiple selected features code example

2009-04-01 Thread Gary Morin
Hi Jano This is what we do in KeySpatial our system that wraps MGOS or MGE, the user can select data from multiple layers, then filter their selection to find just the data the need, it seems to work very well. It's part of our tool that adds security, project and document management to MapGuide.