Archive Page 7

15
Dec
09

MapGuide Studio 2010 with 64 BIT

I recently found I could not install MapGuide Studio 2010 on 64 BIT.  Then I found a Knowledge Base Article at Autodesk. This mentioned CORFLAGS.exe.   I couldn’t find this anywhere. 

Here is how to install MapGuide Studio 2010.

  1. On the Autodesk MapGuide Enterprise 2010 DVD, browse to the “Autodesk\Autodesk MapGuide Enterprise 2010 Setup\Studio\” folder and double-click on the Setup.msi file.
  2. Download the .NET Framework 2.0 Software Development Kit (SDK) (x64)
  3. Browse to the “C:\Program Files\Microsoft.NET\SDK\v2.0.64bit\Bin\” and copy the CorFlags.exe file.
  4. Paste the CorFlags.exe file into your “C:\Program Files\Autodesk\MapGuideStudio2010\” folder.
  5. Click START >Run, type CMD and click OK.
  6. Using CD,  type CD Program Files (x86)\Autodesk\MapGuideStudio2010
  7. Finally, type: CorFlags Studio.exe /32BIT+

This will enable Autodesk MapGuide Studio 2010 on your 64 bit machine.

whew.

10
Nov
09

FOSS4G 2009 in Sydney, NSW

At the end of October I decided to attend the Free and Open Source For Geospatial FOSS4G conference in Sydney.  I really wanted to learn more about OpenLayers (as I love how FUSION and MapGuide have now implemented OpenLayers). 

The conference was great.  Not only did I learn about OpenLayers (I had a great lab where I got to play!), but I learned about geoserver and mapserver technologies (very cool).

I was hoping for some more MapGuide, luckily Geoff Zeiss discused some really neat RestFull web services and Jackie Ng showed off his very powerful FDOToolbox.

I think I will have to submit some labs for Essential MapGuide next year in Barcelona. 🙂

I also brought my Bike Friday to Sydney and cycled for a week up the coast from Sydney and caught the train back at the end of the week.

Gordon on his Bike Friday in Port Stephens, Australia

10
Aug
09

Experimenting with Google/Virtual Earth and MapGuide

Lately I have been experimenting with Google and Virtual Earth with MapGuide.  Using the FUSION/Flexible Web Layouts, I have been able to communicate with the OpenLayers API to add and remove layers to use as a background to my maps.

Having this data in the background is fantastic news.  Cartographically, many people have to pay 10’s to 100’s of thousands of dollars just to have a robust background to their map data.  Now you can just put in your own thematics and dynamic data without housing terra-bytes of data by leveraging other data stores such as Microsoft’s Virtual Earth, Google Maps or Yahoo! Maps.

My google/mapguide mashup is at: http://mapguide.ca/guelph/ (my current city in Canada)

My virtual earth/mapguide mashup is at: http://mapguide.ca/sydney/ (where I am heading in October for the FOSS4G conference)

04
Aug
09

ADLM (Autodesk License Manager) with Windows Server 2003

I installed the ADLM that came with my Autodesk MapGuide Enterprise 2010  but everytime I clicked the “system settings” tab in the LMTOOLS it crashed.

Luckily I found a link to update all my files: http://www.globes.com/support/fnp_utilities_download.htm#downloads

Once I replaced the:

  • lmgrd
  • lmutil
  • lmtools

I was ok…I wonder why the bundled version gives me such pain?

17
Jun
09

MapGuide Server 2010 License Suddenly Expires

I had a proper license using the Autodesk License Manager (ADLM) but suddenly my MapGuide Server said “Evaluation Copy Expired”…so here is how to fix it:

 

Here is a link with the solution to fix the issue. http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=10707697&linkID=9242178

You will need to modify your “serverconfig.ini” file, located in
“C:\Program Files\Autodesk\MapGuideEnterprise2009\Server\Bin” on your MapGuide Server.
Locate the following entries under the “General Properties” section in the file and add the following details…

The path to your network license file
LicenseServerPath = C:\Program Files\Autodesk Network License Manager\License\license.lic

The serial number of your software
SerialNumber = xxx-xxxxxxxx
(replace the x’s with your serial number)

Restart the MapGuide Server and all should be up and running again.

I didn’t know about this one…double entry anyone?

29
May
09

Google Projection in MapGuide 2010

So to line up Google Maps on top of my data, I need to use the Spherical Mercator.
Ok, so how do I do that? Took a little digging but this is how:

1. Get the Projection Definition:
PROJCS["Popular Visualisation CRS / Mercator", GEOGCS["Popular Visualisation CRS", DATUM["Popular Visualisation Datum", SPHEROID["Popular Visualisation Sphere", 6378137, 0, AUTHORITY["EPSG",7059]], TOWGS84[0, 0, 0, 0, 0, 0, 0], AUTHORITY["EPSG",6055]], PRIMEM["Greenwich", 0, AUTHORITY["EPSG", "8901"]], UNIT["degree", 0.0174532925199433, AUTHORITY["EPSG", "9102"]], AXIS["E", EAST], AXIS["N", NORTH], AUTHORITY["EPSG",4055]], PROJECTION["Mercator"], PARAMETER["False_Easting", 0], PARAMETER["False_Northing", 0], PARAMETER["Central_Meridian", 0], PARAMETER["Latitude_of_origin", 0], UNIT["metre", 1, AUTHORITY["EPSG", "9001"]], AXIS["East", EAST], AXIS["North", NORTH], AUTHORITY["EPSG",3785]]

2. Get the Map definition that you are using by logging into the http://server/mapguide2010/mapagent site

    Click the GetResourceContentFor Resource ID, put in the full MapGuide Resource ID of your map: Library://Sheboygan/Maps/CITY.MapDefinition

3. Next save the XML to a file.

    Then modify the tag with the coordinate system in above.

4. Next click SETRESOURCE
For resource ID, use the same one: Library://Sheboygan/Maps/CITY.MapDefinition
For the Content, browse to your new XML file.
Click Submit.

5. You now have an updated map with the correct coordinate system …this works for any coordinate system you need in MapGuide.

11
May
09

Using Map 3D 2010 with Oracle? Better use 10G client!

Hi All, here’s one that stumped me (I should have read the documentation!).

If you want to connect AutoCAD Map 3D 2010 to Oracle with FDO, remember to use the 10G client and not the 9i one. Even if you are connecting to a 9i database.

That one stumped me for a while.

gordon

03
Mar
09

PHP and AJAX Caching Bug

Wow, this one “bugged” me for days. 

I have a PHP form that gets data from Oracle.  When I click the submit button, I want another page to process some script to keep a many-to-many table up to data.

For example:

<input type=submit onClick=submitDistricts($PUBID)>

The Javascript calls a GET

function submitDistricts(PUBID)
{
var xmlHttp = getXMLHttp();
    xmlHttp.onreadystatechange = function()
  {
    if(xmlHttp.readyState == 4)
    {
      HandleDistrictResponse(xmlHttp.responseText);
    }
  }
 xmlHttp.open(“GET”, “updateDistricts.php?PUBID=”+PUBID);
  xmlHttp.send(null);
}

And this works pretty well.  Except that the call gets cached and I can only submit it once.  YIKES!!

How did I fix it?  Well ensure the GET is always unique.

Change the line from:

xmlHttp.open(“GET”, “updateDistricts.php?PUBID=”+PUBID);

TO:

xmlHttp.open(“GET”, “updateDistricts.php?PUBID=”+PUBID + ‘&’ + Math.random());

That’s it. Now my AJAX call to the database is always unique and has no caching…

That was a weird one!

02
Feb
09

Arrow Geomatics Inc. turns 10 today!

Punxsutawney, PA

Punxsutawney, PA

Happy Groundhog day!  Arrow Geomatics Inc. celebrates its 10 year as a corp today. 

Yay us!

gordon

19
Jan
09

FME Supports DWG Object Data AND MPolygons!

Finally!  SAFE  Software, has released the BETA of FME Translator that will convert AutoCAD Map 3D’s Object Data AND its associated MPOLYGONS.  MPolygons enable AutoCAD Map to create Islands, Holes and Multipolygon within the AutoCAD environment.  Object Data is the internal custom attributes you can add to each object (i.e. Pipe Diameter and install data on PLINE).

Now you can use FME to convert the DWG that has Object Data and MPOLYGONs into anything.  In my case, Oracle Spatial!

Great News!




Gordon Luckett

Unknown's avatar

Arrow Geomatics Inc's Gordon Luckett

Contact

gordon dot luckett at arrowgeo dot com 1-519-837-9500 (Arrow Geomatics Inc.)

Checkout MapGuide Guy’s Youtube Channel


Design a site like this with WordPress.com
Get started