Re: [mapguide-users] Corrupted .idx files for shp file connections

2015-01-26 Thread Berg, James
I think I may have found the cause of the issue:

First, I was able to reproduce the .idx file corruption by selecting one of the 
features in the layer created from the affected shp file. Then I toggled the 
layer on and off until the .idx file was corrupted. Doing this without he 
selection didn't seem to break it.

We discovered that the affected shp file had a record in it that did not have 
an associated polygon. We deleted that record and tried again. We were unable 
to corrupt the .idx file using the above method anymore. The record with the 
unassociated polygon was declared the cause and deleting was declared our fix.

Thanks for responding, everyone. Like usual, posting here has a way of helping 
me figure stuff out.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Corrupted .idx files for shp file connections

2015-01-23 Thread Berg, James
MapGuide Open Source 2.5.2
Windows Server 2008 x64
Maestro 5.1

Occasionally layers created from unmanaged shp file feature sources will no 
longer display. I can fix this by deleting the .idx file for the affected shp 
file. The idx file is regenerated the next time the layer is viewed and the 
layer starts working again.

Throughout the MapGuide User mailing list, this issue and solution is 
mentioned, however, this occurs around twice a month in our application and we 
would prefer that the issue not occur at all.

Does anyone know exactly why this happens? It's been suggested that the 
permanent solution is to switch from shp files to sdf or SQL Server spatial. I 
don't have a problem with using different data sources if there's no way to 
make shp files reliable.

Let me know what you think, It'll help me out a lot.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuide training

2015-01-13 Thread Berg, James
I wouldn’t expect there to be any with MapGuide Open Source being open source 
and all. There could be, the thought just never occurred to me.

If not, there should be nothing wrong with finding companies that sell MapGuide 
Open Source applications and asking if they’re willing to contract training.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuide Java vs PHP

2014-12-17 Thread Berg, James
It’s difficult to provide specific links. It’s more of a general impression 
that I have been given over time.

I can tell you that most of my impressions come from this mailing list and this 
blog: http://themapguyde.blogspot.ca/
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuide Java vs PHP

2014-12-17 Thread Berg, James
From what I’ve read here and there, the Java api is infrequently used. At the 
very least, getting support from here will be difficult because so few use it. 
At the most, I would expect the api itself to be buggy.

PHP and .NET appear to be equally used and have good documentation. .NET might 
be used a bit more.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 2.6 and ECW files

2014-12-16 Thread Berg, James
Mapguide 2.5 will work.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Mapguide 2.6 and ECW files

2014-12-16 Thread Berg, James
There are no binaries that will work for Mapguide 2.6 yet. This is because 
Mapguide 2.6 is compiled with visual studio 2012. Since there are no ECW 
binaries compiled with 2012 yet on gisinternals 
http://www.gisinternals.com/sdk/ you will not be able to install ECW support 
onto Mapguide 2.6.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide 2.5.2 Gdal JPEG2000

2014-12-11 Thread Berg, James
Have you used Dependency Walker to check for missing dll dependencies? This is 
brought up every time, but its seriously the best way to make sure these dlls 
are installed correctly.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] web layout script

2014-12-03 Thread Berg, James
Troubleshoot by placing

alert(X);
alert(Y);
alert(Scale);
alert(myMap);

in the javascript and see what pops up. The first three should return the 
expected values and myMap should return Frame (I think). If myMap returns 
undefined then parent.parent wasn't the correct location of the mapFrame.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide crashes at rendering the Tile from Basemap.

2014-11-25 Thread Berg, James
Pre-caching tiles with mgcooker generally takes a long time, and from the way 
you describe your maps, generating tiles for all of your scales is going to 
take a crazy amount of time.

In my application I only tile scales 1:500 or higher. Every time I've  tried to 
tile more than that mgcooker crashes. So no, I personally don't see a way for 
you to tile those smaller scales reliably.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] tooltips in 2.6 (migration from 2.2. to 2.6)

2014-11-06 Thread Berg, James
You don't need to nest concat() as of mapguide 2.4. You only need to seperate  
by comma. Nesting concat won't work. Also, your SECTIONID, which I'm assuming 
is an attribute, does not need to be in quotes. The correct string should look 
like this (not guaranteed to work because I can't check it).

concat('http://www.google.com/gis/chart.asp?Thumbnail=1&Section_ID=', SECTIONID, 
'>'))
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-rest feedback

2014-10-24 Thread Berg, James
Fusion doesn't render its layers with REST, so I can't image it would. The way 
I see it, REST has nothing to do with the existing viewers or their 
functionality. It's a new method of sending and receiving map information. 
Fusion and AJAX already have their ways of sending and getting data. A viewer 
that could toggle layers on and off implementing REST would be a fundamentally 
different viewer. 
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] mapguide-rest feedback

2014-10-23 Thread Berg, James
Scratch that. The labeling is behaving strange depending on the sizing settings 
I have.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] mapguide-rest feedback

2014-10-23 Thread Berg, James
Just noticed this. When I create a DWF using REST and I have labeled features, 
the labels don't show up.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] mapguide-rest feedback

2014-10-22 Thread Berg, James
I've been using MapGuide REST to develop some custom printing functionality.

In particular I've I'm interested in the PDF and DWF output. The layered PDF 
functionality I couldn't use because it doesn't work with maps with base map 
groups yet.

The DWF output has been really helpful because you can template it with a 
PrintLayout. The printlayout features are most important. The visible legend 
and scale are pretty much essential when doing anything engineering related. 
DWF is also great because users can markup the page using something like 
Autodesk Design Review. PDF is a great output for users who don't know how to 
convert things to PDF. In my world, if it can't be turned into a PDF, it need 
not exist.

The PrintLayout resource editor in Maestro is pretty limited, but out of the 
box is does what we need.

Other things I'm planning to use REST for:

Creation of a new mobile viewer based on REST and either OpenLayers or Leaflet 
could be in the future. It's all theoretical, though. If I'm going the make a 
whole new viewer I'd rather use REST than the mapagent. Seems simpler that way.

I can't think of any new features to include yet. It'll come up, though. 
MapGuide REST looks pretty important to me.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Map scales inaccurate by %13.528

2014-10-09 Thread Berg, James
Both of these are interesting comments whose suggestions I hadn't considered. 
I'll do some more testing report what I discover.

Thanks, all.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Map scales inaccurate by %13.528

2014-10-08 Thread Berg, James
MapGuide Open Source 2.5.2
Windows Server 2008 64-bit

It looks to me like map scales are inaccurate. According to my calculations 
they're off by %13.528.

Here's how to demonstrate the inaccuracy:

Open localhost/mapguide/dotnetsamples/main.aspx

Zoom to scale 1:1000

Draw a line that is one foot long using the measure tool.

The measurement of the line according to the task pane is 0.14 miles. If this 
is converted to feet that's about 7392 feet.

Since the current zoom scale is 1:1000 you would expect a foot long measure 
redline to be 1000 feet, not 7392.

[cid:image002.png@01CFE2CC.064E1520]
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuide REST units for DWF scale using printLayout

2014-10-07 Thread Berg, James
I figured it out. Posting my problems here tends to help me organize my 
thoughts and solve problems. Hope you don't mind.

The solution was from an old mapguide user post: 
http://osgeo-org.1560.x6.nabble.com/scale-bar-always-says-Meters-td4203151.html

I edited rest\app\controller\mappingservicecontroller.php. Look for the 
function GeneratePlot(). This function affects DWFs created from runtime maps. 
To change the scale units for DWFs created from the library you would have to 
edit GeneratePlotFromMapDefinition(). The source code is pretty similar in 
both. One gets the map from Session, the other gets it from Library:\\.

Find the lines:

if ($printLayoutStr != null) {
 $layoutRes = new MgResourceIdentifier($printLayoutStr);
 $layout = new MgLayout($layoutRes, $title, MgPageUnitsType::Inches);
}

This checks if you're your REST request includes the path to a printlayout 
resource in Library:\\.  If so, it creates an MgLayout object. The third 
parameter in the constructor is what we're concerned with.

The parameter appears to be a constant, so you would think that the units would 
be imperial to start with. According the post, the constant doesn't work 
properly and we can work around it by including the actual string: "US-English"

Now the code reads:

if ($printLayoutStr != null) {
 $layoutRes = new MgResourceIdentifier($printLayoutStr);
 $layout = new MgLayout($layoutRes, $title, "US-English");
}

If I could request a change to make this less confusing, it would be that the 
third parameter for the MgLayout object be dependent on some kind of global 
configuration so it doesn't need to be edited manually.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] MapGuide REST units for DWF scale using printLayout

2014-10-03 Thread Berg, James
Windows Server 2008 64-bit
MapGuide Open Source 2.5.2
MapGuide REST 0.10
Maestro 5.1

Hi,

I'm using the following REST GET request:

localhost/mapguide/rest/session/[SessionId]/[MapName].Map/plot.dwf?papersize=A3&printlayout=Library://Shared/Layouts/Print.PrintLayout

Library://Shared/Layouts/Print.PrintLayout is just a library path to a copy of 
the Sheboygan print layout.

The scale that is supplied by the print layout is in metric. Is there any way 
to display a scale in inches or feet?

Thanks
[cid:image001.png@01CFDF11.767EC010]
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Layer Permissions

2014-10-02 Thread Berg, James
Post an image of the result you’re getting and describe the result you expect.

From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Farhan Khan
Sent: Thursday, October 02, 2014 8:52 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Layer Permissions

anyone ?

On Tue, Sep 30, 2014 at 6:44 PM, Farhan Khan 
mailto:mrfarhank...@gmail.com>> wrote:
Yes, that is exactly what I was expecting. BUT it does not display any of the 
other layers, as I have 5 layers in total. Any suggestions ?

On Tue, Sep 30, 2014 at 6:39 PM, Martin Morrison 
mailto:martin.morri...@edsi.com>> wrote:
The legend should show any layers that the user has access to.  It will not 
display layers that they do not have access to.

Martin Morrison
Application Engineer
Engineering Design Systems, Inc.
3780 Peters Creek Rd Ext SW
Roanoke, VA  24018
540.345.1410
gis.edsi.com

From: 
mapguide-users-boun...@lists.osgeo.org
 
[mailto:mapguide-users-boun...@lists.osgeo.org]
 On Behalf Of Farhan Khan
Sent: Tuesday, September 30, 2014 9:30 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Layer Permissions

Thanks Martin. I've followed your instructions. I'm using an Application 
definition (slate) from maestro to view couple of layer groups. When I restrict 
a layer for anonymous login, the slate application loads no legend. Is that the 
normal behaviour ?

On Tue, Sep 30, 2014 at 5:42 PM, Martin Morrison 
mailto:martin.morri...@edsi.com>> wrote:
Go into Maestro and right click on a layer, then click on properties and look 
at the security tab.

Martin Morrison
Application Engineer
Engineering Design Systems, Inc.
3780 Peters Creek Rd Ext SW
Roanoke, VA  24018
540.345.1410
gis.edsi.com

From: 
mapguide-users-boun...@lists.osgeo.org
 
[mailto:mapguide-users-boun...@lists.osgeo.org]
 On Behalf Of Farhan Khan
Sent: Tuesday, September 30, 2014 12:49 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Layer Permissions

hi,

i am trying to find a way to add security to layer being displayed. if a user 
is not allowed a layer/layer group, it should not be displayed on his map or 
give some message.

i tried to follow
https://trac.osgeo.org/mapguide/attachment/wiki/MGOS2onVistaIIS7/MGOS2_on_IIS7_howto.pdf

The problem is that i cannot find ''php5isapi.dll" and "isapi_MapAgent.dll" on 
my machine.

any help would be greatly appreciated.

thanks
Farhan

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] MapGuide REST plot.pdf?layeredpdf=1 doesn't work for maps with base layer groups

2014-10-02 Thread Berg, James
Windows Server 2008 64-bit
MapGuide Opensource 2.5.2
MapGuide REST 0.10

MapGuide REST is a very nice thing with many valued features. Here's an error I 
found while exploiting its functionality:

Creating a layered PDF using MapGuide REST doesn't seem to work for maps that 
have base layer groups. Here's how to reproduce the error:


1.   Open localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx

2.   Find the SessionId in the query string from the TaskPane.

3.   In another window open 
localhost/mapguide/rest/session/[SessionId]/Sheboygan.Map/plot.pdf?layeredpdf=1

Page displays an error instead of the PDF.

This error does not occur when using a non-tiled map such as

localhost/mapguide/dotnetviewersample/ajaxviewersample.aspx
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] FOSS4G video

2014-09-24 Thread Berg, James
Nice, I think I'll bookmark this to watch later. Thanks!
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapAgent SetResource in a batch

2014-09-24 Thread Berg, James
A possible alternative to using MapGuide API programming code to make the 
changes, it might be worth investigating the built in Python-based scripting 
that comes built into Maestro. I've never used it myself and don't know much 
about it, but from the looks of it using Python might also do the job.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Layers

2014-09-24 Thread Berg, James
Mauricio is right. Session ID and mapname are all of the parameters needed to 
perform tasks using the MapGuide web server API. Passing them to your custom 
programming code through querystring is perfectly valid.

Keep in mind, however, that if users try to bookmark urls for pages that rely 
on sessionIDs passed from querystring later on these sessionIDs will be 
expired. This can cause errors if not handled properly.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Mapguide RAM usage increase

2014-09-24 Thread Berg, James
The creation of MapGuide sessions for sure is related to the size of RAM 
consumption. RAM is intermittently released as the sessions expire, however, 
and occasional peaks of RAM usage is expected.

If RAM usage increases during times when maps are not being used that might 
require a bit more thought.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Wrong layer on multi-user-system

2014-09-15 Thread Berg, James
It sounds like your second user is sharing the session ID of the first. I would 
investigate the programming code you use to generate new MapGuide sessions when 
the user accesses a map
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuid clustering

2014-08-12 Thread Berg, James
Quality post. Looks like it involves a bit of planning, but it’s great to know 
there are some proven examples out there.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuid clustering

2014-08-11 Thread Berg, James
I am also interested in the answer to this question. The scaling of my 
application hasn’t reached that point yet, but the only scaling solution I’ve 
come up with so far is to have multiple servers each with their own instance of 
MGOS running a portion of the maps we serve.

The strategy is de-centralized and doesn’t implement any failover capability 
and each server can’t share resources when one is stressed. This isn’t an ideal 
solution.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Where does mgcooker CPU usage come from?

2014-08-04 Thread Berg, James
I see. Thank you for your response.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Where does mgcooker CPU usage come from?

2014-08-01 Thread Berg, James
Question:

If you run mgcooker from a remote computer separate from the server that hosts 
mapguide, does the processing take place on the remote computer's CPU or the 
server's CPU?

What I'd like to do is run mgcooker on one of my computers that has the most 
CPU cores and ramp up the concurrent thread requests to speed up the process.

I used to think mgcooker always processed on the host server. If that's not the 
case that would be pretty sweet.

James Berg
GIS Programmer Mechanic
Stantec
2335 Highway 36 West St. Paul MN 55113
Phone: (651) 604-4776
Fax: (651) 636-1311
james.b...@stantec.com

[http://www.stantec.com/content/dam/stantec/images/esignature/stantec.png]

The content of this email is the confidential property of Stantec and should 
not be copied, modified, retransmitted, or used for any purpose except with 
Stantec's written authorization. If you are not the intended recipient, please 
delete all copies and notify us immediately.

ü Please consider the environment before printing this email.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Reset Tile Cache

2014-08-01 Thread Berg, James
Here’s how I handle it:

Before I save my map I rename the folder appending _bak at the end. This 
prevents the folder from being deleted. Then I save the map. Then I open the 
map in a web browser so MapGuide will create the tile cache folder.

Then I open the _bak folder and cut/past its contents into the newly created 
folder.

Your tile cache is now restored.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Layer with joined database ver 2.5 and 2.6

2014-07-30 Thread Berg, James
By return rows, I just mean what you see here when you preview a feature 
source. If Total Entries says -1 then the feature source isn't configured 
correctly.



___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Layer with joined database ver 2.5 and 2.6

2014-07-29 Thread Berg, James
You'll need to do some troubleshooting.

First, ensure that your shp feature source returns rows in the preview without 
the join.
Next,  ensure that your ODBC feature source returns rows from the database 
table feature source. If you don't get anything, it's the ODBC feature source 
that's not properly configured.
Then, ensure that your shp feature source joined with the ODBC feature source 
returns rows in the preview. If you don't then the join isn't configured 
properly.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Script not working

2014-07-23 Thread Berg, James
If you're not already, use firebug or IE's developer tools (F10) to view 
javascript error details
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide Maestro6.0a3 and Raster.

2014-07-22 Thread Berg, James
If you're using 64-bit MapGuide you should stick with the 64-bit binaries.

This is the part where you're going to need to use dependency walker and track 
down which dlls you're missing.

Put walker on your server and open gdal_MrSID.dll which should be in your 
bin/gdal folder by now. Next you'll need to add your bin and fdo folders to the 
list of folders dependency walker checks for binaries.

Options --> Configure Module Search Order... 

Use the browse button and add both the bin and fdo folder and click Add 
Directory. Allow walker to refresh the session when prompted. Walker will tell 
you which dlls are missing, but some are okay to not have. My copy of 
gdal_MrSid.dll works even though walker reports that IESHIMS.DLL and WER.DLL 
are missing.

If you're missing a dll there really isn't much you can do other than track it 
down on the internet and copy it to your bin folder.

Also, I didn't mention this, but you have to restart the mapguide service in 
order for any of this to take effect.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide Maestro6.0a3 and Raster.

2014-07-21 Thread Berg, James
Let's see.

I used MapGuide 2.4 and you're using MapGuide 2.5. Between those versions FDO 
wasn't upgraded. What worked for me should work for you. The only difference is 
you're using 64-bit; that will require different binaries.

Try this set of binaries: 
http://www.gisinternals.com/sdk/PackageList.aspx?file=release-1600-x64-gdal-1-9-0-mapserver-6-0-1.zip
 

That's for MapGuide 2.4 (64-bit) which should also work for 2.5. That set was 
posted by Trevor Wekel in this thread: 
http://osgeo-org.1560.x6.nabble.com/Step-by-Step-for-ECW-and-MGOS-2-4-td4995445.html#a4995528

Download the zip and find + copy the dlls to these locations in your install:

Server\bin\libecwj2.dll
Server\bin\lti_dsdk_dll.dll
Server\bin\gdalplugins\gdal_ECW_JP2ECW.dll <-- don't need that unless you also 
want ECW (which requires additional steps anyway)
Server\bin\gdalplugins\gdal_MrSID.dll
Server\Fdo\gdal16.dll <-- this one is called "gdal19.dll" now because 2.4/2.5 
uses gdal 1.9
Server\Fdo\geos_c.dll
Server\Fdo\iconv.dll
Server\Fdo\libcurl.dll
Server\Fdo\libexpat.dll
Server\Fdo\libpq.dll
Server\Fdo\libtiff.dll
Server\Fdo\proj.dll
Server\Fdo\spatialite.dll
Server\Fdo\xerces-c_2_8.dll
Server\Fdo\zlib1.dll

That list is found here: http://trac.osgeo.org/mapguide/wiki/MGOS22GdalProvider 

Be sure to back up your bin folder first in case this doesn't work.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Publish WFS/WMS from MapGuide OS With Maestro

2014-07-21 Thread Berg, James
I have had great difficulties getting this feature to work, particularly 
consuming with ArcGIS. The only GIS application that I could get to reliably 
consume a MapGuide WFS was Gaia.

Consider this a difficult endeavor before setting aside time to research this 
(particularly for an employer.)
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Usage for MgTransaction class

2014-07-21 Thread Berg, James
Question:

According to the MapGuide API documentation, an optional parameter for 
MgFeatureService's UpdateFeatures() method is MgTransaction. What does an 
MgTransaction object do?
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuide Maestro6.0a3 and Raster.

2014-07-18 Thread Berg, James
What dlls you need will depend on which version of MapGuide OS you have because 
different versions use different version of FDO. Version 2.4 and 2.5 use FDO 
3.8, I believe, and the newest 2.6 uses FDO 3.9.

What version of MapGuide are you using?

You also need different dlls depending on if you use the 32 or 64 bit version 
of MapGuide (the version of Maestro doesn’t enter into it.) You also need to 
add the dlls to specific folders in your MapGuide installation. Like I 
mentioned, all of this will require some research. I recommend searching this 
mailing list and highly recommend using dependency walker to avoid drowning in 
missing dll hell.

If you’re using 2.4 or 2.5, here’s a tutorial I wrote to remind myself how to 
install Mr Sid support. Remember, you’ll need different dlls depending on your 
MapGuide version and bitness.

This web page describes how to install the plugin on MGOS 2.2. Do not use the 
dlls listed here; they are out of date. It provides a list of where the plugins 
should go which is useful.
http://trac.osgeo.org/mapguide/wiki/MGOS22GdalProvider
This web page is from the MapGuide Users mailing list. It describes how to 
install the ECW plugin for GDAL. It shows where to find the plugins and where 
they should go. The dlls needed for ECW are simliar to Mr Sid so the steps 
apply.
http://osgeo-org.1560.x6.nabble.com/Step-by-Step-for-ECW-and-MGOS-2-4-td4995445.html#a4995528
The dll files can be downloaded here as indicated in the web page above. 
Download the first file. These are the right files assuming you version of MGOS 
is still on a 32bit OS uses GDAL ver 1.9.
http://www.gisinternals.com/sdk/PackageList.aspx?file=release-1600-gdal-1-9-0-mapserver-6-0-1.zip

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuide Maestro6.0a3 and Raster.

2014-07-17 Thread Berg, James
Before you start creating Mr Sid raster feature sources, you should know that 
MapGuide Open Source does not support Mr Sid by default. You need to install 
the .dlls manually (a fairly complicated process.) Have you tried creating 
rasters in other formats such as tiff or png? If you haven't you should try 
that first and figure out Mr Sid after you know how to create at least one 
working feature source. 

I wrote a little tutorial on creating raster feature sources for personal 
reference that might be helpful (possibly outdated, though)

1.  Click the "New Resource" button and select "Feature Source" in the 
window that appears and click the "Add" button.
2.  In the "Select FDO Provider" window, select "GDAL Provider" and click 
"OK."
3.  In the "GDAL Feature Source" tab that appears ensure that the "Single" 
radio button in the "Type" group is checked.
4.  Click either "..." browse buttons in the "File" group or "Alias" group. 
Clicking the button in the File group will create a manage feature source and 
clicking the button in the Alias group will create an unmanaged feature source.
Note: Using the Alias group to create an unmanaged feature source will require 
that the path to the file folder location be set up in the MapGuide 
Administrator first. See: Configuring External Files.
5.  Using the browse window that appears, select the needed raster image 
and click the "Open" button. The image path will appear in the "File or Folder 
path" textbox.
6.   Create a coordinate system override that will match the coordinate 
system of the map and other layers. Save and name the feature source.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Selection Tolerance in QUERYMAPFEATURES

2014-07-09 Thread Berg, James
Can you tell us more about the symbol and how it was created? What kind of 
resource is it?
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Repository corruption from multiple users creating redlines?

2014-06-10 Thread Berg, James
Thanks for the response, Jackie

Is there anything in the web api that can act as a lock/release mechanism so 
that updates don't collide? I noticed in the MgFeatureService there is an 
MgTransaction class. Is that something I could use to prevent update conflicts?
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Repository corruption from multiple users creating redlines?

2014-06-10 Thread Berg, James
Windows Server 2003 32-bit
MapGuide Open Source 2.5.2
Maestro 5.1
ASP.NET + C# programming code (.NET 4.0)

Hello, all

I've been researching the feasibility of implementing a new function for our 
GIS product. First, I'd like to query if the following scenario is plausible:

1. User identifies an existing line or point layer whose feature source/class 
should be copied
2. A copy of the layer's feature source is saved permanently to the repository 
in SDF format. I imagine this could be done a couple ways:
a. Use MgFeatureService to copy the feature source (I imagine this 
is slow)
b. Use some other FDO api (maybe Fdo2Fdo would work? Not really 
familiar with other APIs, but will use them if they're faster)
3. From now on, the user can add the new sdf feature source to their map at 
run-time with a generic layer definition (maybe library references to saved 
SDFs feature sources are stored in a SQL table or something.)
4. After adding the new layer to the map, the user can create, update, and 
delete rows and values from the sdf feature source using the MgFeatureService
5. The user saves their changes to the sdf feature source back to the 
repository.

The purpose of this is so users can create addendums for existing layers 
without altering the primary feature source and share addendums with other 
users. This allows users to collaborate and eventually request that the primary 
feature be updated with their addendums. My research suggests this sort of 
thing is possible, it basically an implementation of the sharable markup 
concept, but please send any comments or criticism my way, I'd greatly 
appreciate it.

As an aside, using an RDBMS such as PostGIS, Oracle, or SQL Server 2008 to 
store geometry data as an alternate solution to editing SDF files directly is 
being considered.

I discovered one disturbing thing in my research in this mailing list that 
describes the possibility of crashing a repository in scenarios where multiple 
users create and edit SDF redlines:

http://osgeo-org.1560.x6.nabble.com/Creating-mark-ups-redlining-using-anything-other-than-SDF-td4198550.html

This concern was posted in 2008, does this limitation for SDF still stand? If 
so, would the limitation the poster describes negatively impact my proposed 
function.

Sorry for the long post. If anyone has a comment or two about what I'm trying 
to do I'd help me out a lot.

Thanks

James Berg
GIS Programmer Mechanic
Stantec
2335 Highway 36 West St. Paul MN 55113
Phone: (651) 604-4776
Fax: (651) 636-1311
james.b...@stantec.com

[http://www.stantec.com/content/dam/stantec/images/esignature/stantec.png]

The content of this email is the confidential property of Stantec and should 
not be copied, modified, retransmitted, or used for any purpose except with 
Stantec's written authorization. If you are not the intended recipient, please 
delete all copies and notify us immediately.

ü Please consider the environment before printing this email.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] SetSelectionXml not working

2014-05-27 Thread Berg, James
This is just a guess, but it sounds like that sort of thing might happen if you 
load the xml into the SetSelectionXml function after that particular session 
string has expired.

Not saying that's what it, but that's where I would start looking if it were me.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Need feedback on SHP Provider

2014-05-14 Thread Berg, James
This is a very nice, thanks, Jackie.

How do you think the improved performance will compare with sdf feature sources?
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide Maestro 6.0 Alpha 1 available

2014-05-14 Thread Berg, James
I think there was talk of turning tile cache sets into a new type of resource 
that could be assigned to map definitions. This is the so-called re-usable tile 
cache that solves the problem of constantly clearing tile caches whenever 
changes to the map are made. 
http://osgeo-org.1560.x6.nabble.com/Improving-the-tile-service-td5062477.html#a5085825
 

If that change was made in MapGuide Open Source that's a whole new resource 
type for Maestro to deal with. Would Maestro still be able to edit it?
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Unhandled exceptions in IIS web tier

2014-05-09 Thread Berg, James
I struggle with events related to mapguide because I don't really understand 
them. Several times a day we get logs like 

"A process serving application pool 'MapGuide25AppPool' suffered a fatal 
communication error with the World Wide Web Publishing Service. The process id 
was '17544'. The data field contains the error number. "

with the source being W3SVC. W3svc.exe is the process related to the 
application pool in IIS that represents the website that holds mapguide.

It's tricky for me to figure out what the cause of the errors are. It could be 
a memory leak in my own application (fairly likely,) so I can't blame mapguide 
for it off the bat.

Basically, whenever my application pool fails, maps stop loading until I 
manually recycle the application pool. Without knowing the exact cause, the 
only workaround I've come up with is to configure my application pool to 
automatically recycle whenever it accumulates a certain amount of virtual 
memory. I've got it set to recycle at 800 megabytes, but I might decrease that 
number if problems persist. 

The hope is that frequent recycling will prevent errors.

It's also important to note that my application does not use InProc session 
handling in web.config. That's the default setting and application pool 
recycling would reset any sessions (very bad.)  Instead I use the StateServer 
setting. That way session aren't reset upon application pool resets.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide Maestro 6.0 Alpha 1 available

2014-05-01 Thread Berg, James
That's super nice. Thanks, Jackie.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide Maestro 6.0 Alpha 1 available

2014-05-01 Thread Berg, James
Yup, not having to know the meters-per-unit in advance in order to use the far 
superior "official method" will help new users a lot. It takes a bit of 
research to figure out what the official method is and how to use it and not 
everyone will know to check that radio button.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide Maestro 6.0 Alpha 1 available

2014-05-01 Thread Berg, James
There has been talk in the past of improving/re-writing mgcooker to make its 
tile generation more efficient. Not sure if that's considered a component of 
Maestro, but since this is the last version, will there still be plans of 
implementing those improvements?
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] IMPORTANT: Do you use the SVN metadata feature on Windows?

2014-04-24 Thread Berg, James
I don't use the SVN feature.

Our application is heavily modified and is managed by our own subversion 
repository.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Issues with Base Layers in Fusion

2014-04-18 Thread Berg, James
You say you don't have that problem in Ajax, but I actually had that problem in 
Ajax before. I just figured I messed with my ajaxmappane.templ file too much. 
Here's a link to the post about it that contains my workaround. I know you're 
problem is in Fusion, but the idea was to force the map to refresh when 
activating a tiled base group.

http://osgeo-org.1560.x6.nabble.com/Tiled-basemap-group-from-raster-doesn-t-show-td5100551.html
  
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] RFC 138 Update (re: OpenSSL heartbleed vulnerability)

2014-04-09 Thread Berg, James
Okay, that's good to hear. Thanks.

Follow-up question: it looks like heartbleed is affecting servers that run 
Apache. I'm assuming that MGOS installations using IIS aren't affected?

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Wednesday, April 09, 2014 8:09 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] RFC 138 Update (re: OpenSSL heartbleed 
vulnerability)

Moving from 5.5.3 to 5.5.11 shouldn't break the PHP binding to the MapGuide
API. 

We already have a PHP-based test suite for the Web Tier that can confirm and
verify this.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/RFC-138-Update-re-OpenSSL-heartbleed-vulnerability-tp5134034p5134118.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] RFC 138 Update (re: OpenSSL heartbleed vulnerability)

2014-04-09 Thread Berg, James
Will the PHP upgrade have a likely chance of altering the web server API in a 
way that might impact source code using existing API syntax?

From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Wednesday, April 09, 2014 2:36 AM
To: mapguide-users@lists.osgeo.org; mapguide-intern...@lists.osgeo.org
Subject: [mapguide-users] RFC 138 Update (re: OpenSSL heartbleed vulnerability)

Hi All,

In light of the recent OpenSSL heartbleed vulnerability, I plan to update PHP 
and Apache to their latest respective versions:

 *   PHP: 5.5.11
 *   Apache: 2.4.9 VC11 build from apachelounge

Both include OpenSSL 1.0.1g which is not affected by this vulnerability.

2.6 Beta 1 will be released with these new updated components.

- Jackie
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] unsuscribe me please

2014-04-04 Thread Berg, James
Pretty sure you can find an unsubscribe button if you go to this url:

http://lists.osgeo.org/mailman/options/mapguide-users/[youremailhere] 

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Roberto Quintela 
Modia
Sent: Friday, April 04, 2014 4:11 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] unsuscribe me please


Kintela
@esekintela



___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] mapviewernet web.config request validation setting

2014-03-21 Thread Berg, James
So, for whatever reason, my MapGuide installation of 2.5.2's 
mapviewernet/setselection.aspx was throwing "Request Validation has detected a 
potentially dangerous client input value" errors whenever I used the 
SetSelectionXml function in javascript. Not really sure why it was doing that 
since the page has validateRequest="false" in the page declaration.

Anyway, my solution was to add  to 
that folder's Web.Config file. Now the page doesn't throw validation errors.

Would it be a good idea to just include this tag in that Web.Config file by 
default in the installation? I probably was the one who caused the errors in 
the first place with my constant code hacking, but maybe using the config tag 
would make a harmless failsafe to make sure the pages don't get validated.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] FDO Expression Filter on current date

2014-03-17 Thread Berg, James
What kind of values are in in your column? Are they actual timestamps like in a 
DateTime field, or are they strings with just years like “2005”, “2007”, etc? 
This will effect what kinds of functions you’ll need to use to convert the data.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] PHP thread safe binaries

2014-03-14 Thread Berg, James
Makes sense to me. Thanks for the answer
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] PHP thread safe binaries

2014-03-14 Thread Berg, James
Quick question:

Is there any particular reason why MapGuide Open Source installs with the 
thread safe version of the PHP binaries. Is it possible to run on 
non-thread-safe binaries instead? My impression is non-thread safe binaries 
should be faster when using FastCGI.

I use:
MapGuide Open Source 2.4
Windows Server 2003
Maestro 5.1

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Sublayer in MG

2014-03-12 Thread Berg, James
This reminds me of a question I wanted to ask:

Is having multiple themes in a single layer or having multiple layers from an 
exploded theme have better performance? (Assuming all exploded layers are 
turned on compared to the single themed layer.)
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Maestro Horizontal align setting in layer label style

2014-03-03 Thread Berg, James
Ah, I see. I was trying to align labels along a line layer. If horizontal 
alignment doesn't work on line layers then that explains it. I'll just remake 
the shp file to use point data instead.

Thanks
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Maestro Horizontal align setting in layer label style

2014-02-28 Thread Berg, James

Using Maestro 5.1
MGOS 2.4

So, I've been tinkering with label styles for layers in Maestro for a while and 
it looks like Horizontal Alignment setting doesn't do anything. It doesn't have 
any drop down options other than "Center" and entering integer values does 
nothing. Entering other string values like "Left" or "Right" that might be 
other possible enumerations doesn't seem to do anything either.

Am I missing something?

[cid:image001.png@01CF3462.2C504090]
<>___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide user rights based on area

2014-02-26 Thread Berg, James
Nothing is coming to mind, sorry, so I doubt it. Users are free to pan as far 
as they want to. Can't say it's impossible, but at the very least it's not a 
kind of restriction that is supported in any explicate way.

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Kajar
Sent: Wednesday, February 26, 2014 8:12 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Mapguide user rights based on area

But is it possible to create map which have fixed extents and zoom level so
user cant zoom and pan over limits the map have?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-user-rights-based-on-area-tp5100199p5106122.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] WMS GetFeatureInfo as Tooltip in AjaxViewer

2014-02-25 Thread Berg, James
That's true, but the GetFeatureInfo requests tends to return data in xml 
format. I haven't tried it, but maybe try just putting a GetFeatureInfo URL 
request in the tooltip section in Maestro? If it works at all just raw xml will 
show up. Pretty sure that's not what you want, though.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Tiled basemap group from raster doesn't show

2014-02-20 Thread Berg, James
I implemented a workaround for this problem. Still not sure of the actual 
cause, though.

In the ShowBaseGroup() function in ajaxmappane.templ add Refresh(); to the end 
of the function. This forces the map to refresh whenever base map group is 
activated. This will make redundant refreshes for base map groups that appear 
on map load and work properly, but the effects aren't noticeable to me.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Introducing mapguide-rest

2014-02-13 Thread Berg, James
I had the idea of using the rendering service to create high dpi map images 
with custom dimensions. Before mg-rest making custom printouts was kind of 
tricky. We can use the rendering service to produce images of the map 
definition in its default load state, but not a custom version with specific 
layers turned on.

In other words, having the ability to produce a map image with specific layers 
turned on would be an interesting tool to have.

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Thursday, February 13, 2014 6:00 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Introducing mapguide-rest

Not at the moment. Is there a particular scenario where you need such a
feature?

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Introducing-mapguide-rest-tp5101766p5103585.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Introducing mapguide-rest

2014-02-12 Thread Berg, James
Is there any way to use the rendering service APIs to create images of 
LayerDefinitions instead of MapDefinitions?
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Tiled basemap group from raster doesn't show

2014-02-12 Thread Berg, James
According to Fiddler, it looks like I'm not getting GETTILEIMAGE requests until 
I refresh the map after activating the group. Activating the group the first 
time does nothing.

Sorry for the late response, by the way.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2014-02-07 Thread Berg, James
I do that in my MapGuide Open Source application. Here's is how I do it.

In my weblayout I set the Initial Task Pane URL to a page (in this case it's 
called TaskPaneRedirect.aspx) that does some C# code that decides which task 
pane should be loaded and then immediately does a Response.Redirect("URL", 
false); to the correct task pane page.

All you would have to do is supply TaskPaneRedirect.aspx with the correct URL. 
I do that by setting a session variable after the user logs into the 
application. The session variable is set from a database table that contains 
user information included a preferred task pane.

Your situation may be different, but that's one way of doing it.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Opening print quickplot prevents selecting multiple featuers

2014-02-05 Thread Berg, James
I just noticed that quickplot does a couple other strange things. If you open 
in it in IE10 it will open 5 times. Also if you try to create a selection 
programmatically like

.cs:

queryOptions.SetFilter(""+Field+" = "+FieldValue.ToString()+"");

featureReader = layer.SelectFeatures(queryOptions);

String selectionXml;
selection = new MgSelection(map);
selection.AddFeatures(layer, featureReader, 0);
selectionXml = selection.ToXml(); 

javascript:

SetSelectionXML(selectionXml);

that won't work after opening quickplot. That's not all of code, of course, and 
I'm not sure if there's a specific example in the Sheboygan sample code that 
could reproduce it. I could create a sample page if that helps reproduce it.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Opening print quickplot prevents selecting multiple featuers

2014-02-05 Thread Berg, James
MapGuide Open Source 2.4
Windows Server 2003 R3
Maestro 5.1

Maybe I just messed up my ajaxmappane.templ file after tampering with it for so 
long, but I want to make sure this isn't happening for anyone else.

Whenever I open the print quick plot and then try to select multiple feature 
using shift + click I'm not able to select more features. Dragging to select 
features works fine.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Possibility of reading MapGuide WMS service with ArcMAP

2014-02-04 Thread Berg, James
Thanks, Remy

I have tried all of the WMS versions that MapGuide supports. I have all of the 
awd documents configured and they all work in Gaia and QGIS.

From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Rémy Gourrat
Sent: Tuesday, February 04, 2014 9:48 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Possibility of reading MapGuide WMS service with 
ArcMAP

Have you tried to change the WMS Version when  you consume your MapGuide WMS 
Version ?

Gaia and QGIS ask for version 1.3 systematically.

Maybe have you tried to ask to mapguide for an older version like 1.0 or other 
in your URL config in ArcGIs

Rémy
AG-Carto - Bayonne


View this message in context: RE: Possibility of reading MapGuide WMS service 
with 
ArcMAP
Sent from the MapGuide Users mailing list 
archive at 
Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Possibility of reading MapGuide WMS service with ArcMAP

2014-02-04 Thread Berg, James
Thank you, Jackie and Remy for your responses.

I can confirm that my WMS works perfectly in Gaia, as well as other sensible 
applications like QGIS, so it seems to be functioning correctly.

As for the SLD. I’m not sure what’s supposed to make sense with this ArcGIS 
situation. Really I’m just trying to figure out why ArcGIS in particular is 
having such a difficult time. Gaia and QGIS effortlessly pick up whatever style 
I’ve configured in Maestro and display the image. ArcGIS, not so much. It reads 
the bounding box and zooms to the right place just fine, but no image. I 
figured that might mean it’s not detecting the styling properly.

Anyway, it’s kind of awkward asking the MapGuide users what’s wrong with 
ArcGIS, but ArcGIS forums have not been informative. If anyone can relate any 
similar experience that much will be helpful.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Possibility of reading MapGuide WMS service with ArcMAP

2014-02-03 Thread Berg, James
I'm trying to read a MapGuide WMS service with ArcMAP and its looks like I'm 
able to get the layer and read the correct bounding box. When I get properties 
for the layer in ArcMAP it doesn't have any styling properties. I'm figuring 
the a the culprit is the fact that mapguide does have support for Styled Layer 
Descriptors (SLD) which I think ArcMAP relies on to style the layer.

So my question is: is it impossible to show mapguide WMS layers in ArcMAP 
because mapguide doesn't support (SLD?)
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Tiled basemap group from raster doesn't show

2014-01-28 Thread Berg, James
MGOS 2.4 32bit
Maestro 5.1
Windows Server 2003 R3

I have a tiled basemap group containing a single raster layer made from some 
aerial images in TIFF format. The group is not set to be displayed on map on 
map load, however, when the group is activated, the aerial isn't displayed. If 
I refresh the map or zoom to another scale, the layer will appear and respond 
to toggling the layer on and off like usual until I refresh the whole page 
again.

Has this happened to anybody before? Am I doing anything wrong with mgcooker? 
I'm creating my tiles with the official method with a meters pr. Unit value 
that I've calculated for the map.

Thanks if anyone can send a comment.

James Berg
GIS Programmer Mechanic
Stantec

Phone: (651) 604-4776
Fax: (651) 636-1311
james.b...@stantec.com

[file:///C:\Program%20Files%20(x86)\Stantec%20Office%20Tools\images\stantec.gif]
Design with community in mind
stantec.com
[file:///C:\Program%20Files%20(x86)\Stantec%20Office%20Tools\images\facebook_gray.gif]

[file:///C:\Program%20Files%20(x86)\Stantec%20Office%20Tools\images\twitter_gray.gif]

[file:///C:\Program%20Files%20(x86)\Stantec%20Office%20Tools\images\blogger_gray.gif]

[file:///C:\Program%20Files%20(x86)\Stantec%20Office%20Tools\images\google_gray.gif]

[file:///C:\Program%20Files%20(x86)\Stantec%20Office%20Tools\images\linkedin_gray.gif]

[file:///C:\Program%20Files%20(x86)\Stantec%20Office%20Tools\images\youtube_gray.gif]

The content of this email is the confidential property of Stantec and should 
not be copied, modified, retransmitted, or used for any purpose except with 
Stantec's written authorization. If you are not the intended recipient, please 
delete all copies and notify us immediately.
ü Please consider the environment before printing this email.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide user rights based on area

2014-01-28 Thread Berg, James
That sounds like a pretty clear-cut way of solving it if we're sure you'll only 
ever need to manage two sets of permissions. It sounds tough to scale if new 
users with new permissions are added, but if the situation only requires the 
two users then it will be fast to implement and fulfill the requirement.

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Ryan Northcott
Sent: Monday, January 27, 2014 3:52 PM
To: MapGuide Users Mail List
Cc: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Mapguide user rights based on area

Can't you just make two maps and give out two different links. 

If you aren't spawning a link from a Programmed page just send the two groups 
different urls. 


- sent via mobile phone
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Mapguide user rights based on area

2014-01-27 Thread Berg, James
For something like that you would have to create programming logic with the web 
server API.

If I was the one who needed to implement what you described I would start by 
creating a database of some kind to store user account information along with 
some parameters for permissions (access to specific layers, etc).

Then in the programming code I would check the user's permissions after 
authentication and make runtime changes to the map before the map loads. Most 
of the changes would be hiding layers from the legend so the user couldn't 
enable them.

As for restricting whole areas, the only thing I would think to do is to 
maintain multiple map definitions/layout definitions for different levels of 
permission and switch to a different at runtime before the map page loads. In 
theory that's how I imagine it.

Like I said, I haven't actually needed to enforce permissions like that so I 
don't know how well the strategy will work. As far as I know these strategies 
could turn out slow or hacky for whatever reason.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] GDAL Fix for MapGuide OpenSource 2.5

2013-12-06 Thread Berg, James
I'm pretty sure MGOS 2.5 still uses GDAL version 1.9 so this old posting for 
installing ECW support on MGOS 2.4 should still be relevant. The posting should 
contain the url for the correct dlls.

http://osgeo-org.1560.x6.nabble.com/Step-by-Step-for-ECW-and-MGOS-2-4-td4995445.html#a4995528
 

Back when I installed MR Sid and ECW support on MGOS 2.4 I used the url you 
posted to figure out which files go where, but I can't guarantee that will 
apply to 2.5.2

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Hans Milling
Sent: Friday, December 06, 2013 7:03 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] GDAL Fix for MapGuide OpenSource 2.5

Hi All

Is there a GDAL fix for MGOS 2.5? Similar to this:
http://trac.osgeo.org/mapguide/wiki/MGOS22GdalProvider
I cannot get ECW files to work in MGOS 2.5.1 so My guess is that I need to
apply the same fix to apply the missing files.

Best regards
  Hans Milling...



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GDAL-Fix-for-MapGuide-OpenSource-2-5-tp5093099.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Help - Resource Id with space character

2013-10-09 Thread Berg, James
If I was in your situation and couldn't even get that far, I'd delete the 
resource using the mapagent directly which can be accessed from 
http://YourDomain/mapguide/mapagent/index.html.

Click the Resource link and the DeleteResource. In Resource ID enter the path 
the resource and click Submit. I've messed up resources to the point where I 
couldn't even view them before and this has always deleted them when nothing 
else could.




-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jag
Sent: Wednesday, October 09, 2013 5:19 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Help - Resource Id with space character

The  problem is that I can't list the resource in Maestro, when I try to
expand I get the error below.
So, I can't rename it.

How can I solve this problem using Maestro or using Mapguide's API?





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Help-Resource-Id-with-space-character-tp5082396p5082559.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

Re: [mapguide-users] Help - Resource Id with space character

2013-10-08 Thread Berg, James
I've gotten that Document not found error sometimes for reasons I don't 
understand either. I've fixed it by simply renaming the resource in Maestro and 
then deleting that. If it doesn't let you rename, try restarting the mapguide 
service
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Step by Step Mrsid Gdal support implementation for packaged MGOS 2.5.1

2013-09-13 Thread Berg, James
Like you've probably noticed, it's tricky to know exactly one dlls are right 
for your MapGuide. I can tell your link to gisinternals is on the right track. 
Based on the file name you've got the bitness correct (x64.) The other factor 
is the 1-9-0, which refers to the FDO version that MapGuide 2.5.1 uses. I use 
MGOS 2.4, which also uses 1-9-0 so I'm guessing you could be spot on about that 
link.

When installing support for mrsid on my mapguide server, I took down notes on 
all of the info that helped me do it right. Many of the steps were for 
installing support for ECW. I found the steps were similar enough to follow for 
mrsid. Notice that I use 32 bit MGOS so the links I direct to won't be right 
for you. Use the ones you found instead:

This web page describes how to install the plugin on MGOS 2.2. Do not use the 
dlls listed here; they are out of date. It provides a list of where the plugins 
should go which is useful.
http://trac.osgeo.org/mapguide/wiki/MGOS22GdalProvider
This web page is from the MapGuide Users mailing list. It describes how to 
install the ECW plugin for GDAL. It shows where to find the plugins and where 
they should go. The dlls needed for ECW are identical to Mr Sid so the steps 
apply.
http://osgeo-org.1560.x6.nabble.com/Step-by-Step-for-ECW-and-MGOS-2-4-td4995445.html#a4995528
The dll files can be downloaded here as indicated in the web page above. These 
are the right files assuming Infraseek is still on a 32bit OS and MGOS still 
uses GDAL ver 1.9.
http://www.gisinternals.com/sdk/PackageList.aspx?file=release-1600-gdal-1-9-0-mapserver-6-0-1.zip



From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Mike Micallef
Sent: Thursday, September 12, 2013 2:35 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Step by Step Mrsid Gdal support implementation for 
packaged MGOS 2.5.1

Can someone post a step by step for enabling mrsid images from the "2.5.1 
packaged install" to "up and running with mrsid support" on windows 7 64 bit 
(non iis) . I have been trying with much failure to ensure I have all the gdal 
and other required dlls - different dlls from previous versions from some of 
the other posts. Is this the correct GDAL Package to use for Mrsid support? 
http://www.gisinternals.com/sdk/PackageList.aspx?file=release-1600-x64-gdal-1-9-0-mapserver-6-0-1.zip
 if so - it does not contain this reference as well as others from previous 
versions (mgos 2.2)... lti_dsdk_cdll.dll There are several other examples but 
none that coinside with what is listed. Ideally I am looking for: -the required 
URL's to the files needed -a list of which files from where and where they 
should be placed -an overview of the process required I run into this with 
every upgrade and spend days moving platforms trying to get mrsid up and 
running. Any help is much appreciated. system Win 7 - 64 bit Mapguide 2.51 - 
Apache bundle - MapGuideOpenSource-2.5.1.7768-Final-x64.exe this may be linked 
to other issues I am having with transforming raster layers. Mike

View this message in context: Step by Step Mrsid Gdal support implementation 
for packaged MGOS 
2.5.1
Sent from the MapGuide Users mailing list 
archive at 
Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Opening a window using an invoke url custom command with the toolbar

2013-09-03 Thread Berg, James
Okay, looks like I solved my own problem again. I suppose I'll post the 
solution.

In mainframe.templ under the function OpenUrlFromForm() I modified the line:

else if(cmd.targetType == 2)
{
targetName = "newFrame" + (newWindowIndex ++);
window.open("", targetName, 
"toolbar=no,status=no,width=500,height=500,resizable,scrollbars");
}

to read:

else if(cmd.targetType == 2)
{
targetName = "newFrame" + (newWindowIndex ++);
window.open("", targetName, 
"toolbar=no,menubar=yes,status=no,width=500,height=500,resizable,scrollbars");
}

The only new inclusion is the menubar=yes, in the window.open() call. This 
would apply to every window launched this way, though, I can't say I figured 
out how to make individual custom commands launch with different window 
properties.

From: Berg, James
Sent: Tuesday, September 03, 2013 9:16 AM
To: mapguide-users@lists.osgeo.org
Subject: Opening a window using an invoke url custom command with the toolbar

MGOS 2.4
Maestro 5.0.0
Windows Server 2003 r2
Hello, all

When I create an invoke URL custom command the window it opens doesn't have the 
toolbar. I want the users to be able to access the print options normally 
available. Is there a way to open these windows with the toolbar?

Thanks for all the help
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Opening a window using an invoke url custom command with the toolbar

2013-09-03 Thread Berg, James
MGOS 2.4
Maestro 5.0.0
Windows Server 2003 r2

Hello, all

When I create an invoke URL custom command the window it opens doesn't have the 
toolbar. I want the users to be able to access the print options normally 
available. Is there a way to open these windows with the toolbar?

Thanks for all the help
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Adding a Custom command to ajax viewer

2013-08-27 Thread Berg, James
Can you add a refresh command to the context menu or task menu and use it in 
those places?

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] How to set layer's order for WMS in Mapguide Maestro?

2013-08-21 Thread Berg, James
Are you talking about making a single layer resource whose feature class 
comprises of more than one image available from the WMS?

If so, then by default a single image provided by the WMS is made into a single 
feature class which can be turned into a single layer. In this case you could 
have multiple layers with individual images and order them in the map 
definition like normal.

However, it's possible to use multiple images from the WMS in a single feature 
class which can be made into a larger layer composed of many image. As far as I 
know, the only way of doing this is by manually editing the config.xml that is 
created for your WMS feature source. This process is described here in the 
"Multiple WMS Layers in a Single MapGuide Layer" section of this document: 
http://trac.osgeo.org/fdo/wiki/FdoWmsNotes

My guess is that the order you list the layers in the config document  will 
determine the draw order for those images.

From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrey Maraev
Sent: Wednesday, August 21, 2013 2:43 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] How to set layer's order for WMS in Mapguide 
Maestro?

Hi, Jackie!
I thought if WMS client isn't using order settings and getting all information 
via getcapabilities request it is a WMS server responsobility. Isn't?

2013/8/21 Jackie Ng mailto:jumpinjac...@gmail.com>>
Huh?

I would've thought draw order of WMS layer would be the responsibility of
the WMS *client* application and not the WMS server.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-to-set-layer-s-order-for-WMS-in-Mapguide-Maestro-tp5073504p5073505.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



--
lernen,lernen und lernen
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] consuming WMS from ArcGIS server in MGOS2.5

2013-08-14 Thread Berg, James
Loading this URL 
http://176.74.246.100:6080/arcgis/services/wms_test/MapServer/WMSServer?request=GetCapabilities&service=WMS
 I get a page not found error:

[cid:image002.jpg@01CE98BE.6C8A8A70]
Firefox version:
[cid:image006.jpg@01CE98BE.6C8A8A70]

From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of telekater
Sent: Tuesday, August 13, 2013 3:25 PM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] consuming WMS from ArcGIS server in MGOS2.5

Thanks for for the reply. I already tried the WMS-service in ArcGIS Desktop, 
Quantum GIS and AutoCAD, and the service is working properly in those programs. 
And i can't see anything strange in the response from the 
GetCapabilities-request (what kind of error do you get?).
So, as far is i can see/judge, the service is working properly and the address 
is ok.

On 8/13/2013 6:20 PM, Berg, James [via OSGeo.org] wrote:
When I get those errors clicking the Advanced button for a WMS feature source 
it’s because the server doesn’t exist or I entered the URL string wrong. 
Maestro should be able to at least see the service if it exists. Also, your get 
capabilities url isn’t working for me, by the way. If you can load the WMS into 
another kind of application like ArcGIS or something you can at least rule out 
the possibility of the service  just plain not working.



View this message in context: Re: consuming WMS from ArcGIS server in 
MGOS2.5<http://osgeo-org.1560.x6.nabble.com/consuming-WMS-from-ArcGIS-server-in-MGOS2-5-tp5068542p5072371.html>
Sent from the MapGuide Users mailing list 
archive<http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html> at 
Nabble.com.
<><>___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] consuming WMS from ArcGIS server in MGOS2.5

2013-08-13 Thread Berg, James
When I get those errors clicking the Advanced button for a WMS feature source 
it’s because the server doesn’t exist or I entered the URL string wrong. 
Maestro should be able to at least see the service if it exists. Also, your get 
capabilities url isn’t working for me, by the way. If you can load the WMS into 
another kind of application like ArcGIS or something you can at least rule out 
the possibility of the service  just plain not working.

From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of telekater
Sent: Tuesday, August 13, 2013 5:26 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] consuming WMS from ArcGIS server in MGOS2.5

I tried that, but when I click the Advanced button Maestro gives an error:
Message: Object reference not set to an instance of an object
(details in attachment: error5.txt)

Emiel

2013/8/13 Jackie Ng [via OSGeo.org] <[hidden 
email]>
The "Advanced" button in the Maestro WMS Feature Source editor builds this 
document for you through a user interface so you don't have to edit the XML 
document by hand.

- Jackie

If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.x6.nabble.com/consuming-WMS-from-ArcGIS-server-in-MGOS2-5-tp5068542p5072214.html
To unsubscribe from consuming WMS from ArcGIS server in MGOS2.5, click here.
NAML


[cid:~WRD000.jpg]error5.txt (1K) Download 
Attachment


View this message in context: Re: consuming WMS from ArcGIS server in 
MGOS2.5
Sent from the MapGuide Users mailing list 
archive at 
Nabble.com.
<>___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Upcoming MapGuide release schedule

2013-08-06 Thread Berg, James
Hi, Jackie. Thanks for the news.

If installer support is dropped for XP and server 2003,  will there be some 
alternative installation method for those OS's? Any recommendations for getting 
2.6 working on XP/2003 without the installer?

Thanks

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Selection of Layers Not Visible (Suggestions)

2013-07-19 Thread Berg, James
There's no setting like that so if want a layer selected you'll need it turned 
on.

You can, however, make it appear like  de-activated layers are being selected.

First, you need an invisible version of the layer that is selectable. Hide the 
layer from the legend also.

Second, create visible layer that is not selectable.

Add these both to the map and the user will view the second layer they can 
switch on and off, but is always selecting the first invisible one that's 
always turned on.

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of ChrisGo
Sent: Friday, July 19, 2013 9:04 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Selection of Layers Not Visible (Suggestions)

Couple of questions:

1. What is the best way to set the current map to allow selections on layers 
that are not yet shown at a current scale?

2. Can this setting be set in the WebLayout of the map because that would be 
awesome if you could set it via API or globally per map without having to use 
FCGI call.


Please any information on the best usage for this would be great. Example: a 
layer is not yet turned on and a user draws a selection box. I want all layers 
within that selection box to be selected no matter if the layer is visible or 
not.

I don't mind JS override but I really do not want to edit the viewer code is 
possible.

HOW?

Thanks,
Chris



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Selection-of-Layers-Not-Visible-Suggestions-tp5067613.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] [MapGuide-users] Improving the tile service

2013-07-02 Thread Berg, James
Sounds like you’re under a lot of restrictions. That does make things tougher. 
I’m not a developer (so someone correct me if I’m wrong,) but since the image 
format setting is in serverconfig.ini that tells me the setting is 
install-wide. Being able to choose a new format for individual tile-cache jobs 
would be really nice, but I don’t think there’s a way to override the 
serverconfig.ini setting at the moment.

Your idea of re-using the tiles with a specific perimeter is interesting, but 
I’ve never tried anything like that. There are several posts here about 
overriding bounds, but restricting to an irregular shape sounds difficult.

Also, make sure you are calculating meters-per-unit and using the official 
method before running mg-cooker if you’re not already. It will dramatically cut 
down processing time.

http://trac.osgeo.org/mapguide/wiki/CodeSamples/PHP/MPUCalculator

From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Rémy Gourrat
Sent: Tuesday, July 02, 2013 8:54 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] [MapGuide-users] Improving the tile service

Thanks James,

For tile cache path, i saw that but when you produce datas every day for 
different project in the goal to copy to another server, we must always change 
the file path for isolate the datas.

“MapGuide administrator” is using by the Gis Administrator not by Gis Data 
Manager.

And gis Data Manager don’t have access to the “MapGuide administrator” and of 
course on the serverconfig.ini, only Maestro and mgcooker.

So like we speak about improvement, it will be great if we could change this 
parameters directly in mgcooker.

For the third one, Imagine you have a big territory on a server (200km x 200km) 
but on another local server you want just use a part of this territory with a 
specific complex perimeter. It’s difficult to get only tiles you need.

So you will generate again the tiles cache and it's again a long calculation of 
few days, sometimes we don't have the time to wait and no enough money to buy a 
server monster... so it's a problem for us

If we have a Shape of the Grid tiles, when we have a lot of tile it’s very easy 
to select tiles with a selection spatial query on it with autodesk Map (look 
below) , make selection List report to build easy a batch to 
extract/copy/delete only tiles you need without generation calculation.

Rémy

[http://osgeo-org.1560.x6.nabble.com/attachment/5063564/0/image001.png]
AG-Carto - Bayonne


View this message in context: RE: [MapGuide-users] Improving the tile 
service
Sent from the MapGuide Users mailing list 
archive at 
Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Strange problem with new server

2013-07-01 Thread Berg, James
If you can get into the administrator you could try adding another publisher 
account and use that. You can also try changing the password for the 
Administrator account which is something you'll be doing for security reasons 
anyway.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Problem getting started with 2.5

2013-06-28 Thread Berg, James
It looks like the applications in IIS normally created during the mapguide 
installation have retained the original paths to the (x86) program files folder 
for some reason (or something like that). I wonder if you viewed the 
dotnetviewersample application in IIS manager if the local path is still set to 
the (x86) folder. If that's true the same might apply to the other applications 
configured by mapguide.

Normally when I toy around with uninstalling and installing mapguide the 
applications get removed from IIS on the uninstall and get properly restored on 
the next install. I always do this with 32 bit mapguide in both cases, though. 
I wouldn't be surprised if you change the install folder some things get 
screwed up.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Problem getting started with 2.5

2013-06-27 Thread Berg, James
I'm planning to upgrade to 2.5 pretty soon myself so I'm interested in what to 
expect.

There are multiple config files involved in a MapGuide install. Can you post 
the original message for a clue on what file it was exactly?
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Custom Selection Filter in MapGuide

2013-06-19 Thread Berg, James
I can't say I've tried making a filter expression as complex as what you're 
describing so I can't say exactly how to do it, but there's a section in the 
MapGuide Developer's Guide about filtering feature queries. It even has an 
example for filtering based on a range of dates.

Hopefully that gets you on the right track. Also, I'm kind of assuming you're 
using the AJAX viewer. Not too sure if the process is different for FUSION.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Get coords from Database with PHP then zoom to location in iFrame

2013-06-19 Thread Berg, James
I was about to write an explanation about how the ZoomToView function worked in 
the AJAX viewer, but then I noticed you're using FUSION. I'm not very familiar 
with FUSION, but I get the feeling that ZoomToView might just be an AJAX map 
function. Someone correct me if I'm wrong.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] IMPORTANT - MapGuide RFC 136 is ready for review

2013-06-18 Thread Berg, James
Thank you for the hotfix, Jackie. As a minor heads-up to those using these you 
might need to clear your application pool before overwriting the files 
otherwise the OS will demand that you close programs using the files.

I'm no expert on mapguide, but as someone who develops with mapguide I never 
saw the need to update SQL tables through the mapagent. My environment, 
asp.net, has plenty of tools for doing that.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Tiling possibilities

2013-06-13 Thread Berg, James
The number of tiles generated by MGCooker with default settings can be extreme. 
Before running the cooker check the "Use Official Method" and fill out the 
"Meters pr. unit" text box. Follow these instructions to use the mpu calculator 
included: http://trac.osgeo.org/mapguide/wiki/CodeSamples/PHP/MPUCalculator 

Configuring mgCooker this way can turn a 35 hour tile job into a 5 hour job. 
Also, I there's a ticket to improve mgCooker overall and reduce the blank 
tiles. http://trac.osgeo.org/mapguide/ticket/1999 


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Zoom to selection doesn't work after opening quick plot window.

2013-06-12 Thread Berg, James
Alright, so here's how I reproduce the javascript error:

Copy the attached files to \MapGuide\Web\www\dotnetviewersample\overview 
(backup the original overviewmain.aspx if needed)

Open mapguide/dotnetviewersample/ajaxviewersample.aspx in a web browser and 
click the Zoom hyperlink. Reset the view and open the quick plot. Close it and 
click the link again. The javascript error should occur.


overviewmain.aspx
Description: overviewmain.aspx


zoom.aspx
Description: zoom.aspx
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Zoom to selection doesn't work after opening quick plot window.

2013-06-12 Thread Berg, James
I'd say that's exactly what I'm encountering.

I'll reproduce the problem in Sheboygan and post a more detailed code sample 
soon.

Thanks

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Wednesday, June 12, 2013 10:05 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Zoom to selection doesn't work after opening 
quick plot window.

Is is similar to this?

http://forums.autodesk.com/t5/Autodesk-MapGuide-Enterprise/Unable-to-select-objects-after-plotting/td-p/3949151

Either way, I'll need explicit steps for reproduction. I could not reproduce 
the problem based on what you just said

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Zoom-to-selection-doesn-t-work-after-opening-quick-plot-window-tp5059728p5059732.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Zoom to selection doesn't work after opening quick plot window.

2013-06-12 Thread Berg, James
Windows Server 2003r2 32bit
MapGuide Open Source 2.4
AJAX Viewer
Maestro 5.0RC

Hello, all

My MapGuide application uses the main frame method ExecuteMapAction(10) to zoom 
to selections on the map. However, every time I use those functions after 
opening the quick plot window I get a javascript error "featIds.Items is null 
or not an object" and the zoom fails.  I run these functions from a popup 
window and my code looks like this:

  parent.SetSelectionXML(selectionXml);
  parent.ExecuteMapAction(10);

Creating the selection with the first line still works.

What do you think?

Thanks!
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


  1   2   >