MapWindow 4 - Plugins : MapWindow Discussion Forum
Tom, the latest version of MW4 supports ECW again. So you can update to v4.7RC3.
The new RC (v4.7RC4) is scheduled for the end of the month. And the stable version (v4.7SR) is scheduled for mid October.
Hope it help.
Paul
--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group
Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.
---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS
Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl
*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn
Hello everyone, The MapWindow team has just completed developement of a new layout engine for the MapWindow 4 application. It is based on code developed for the new MapWindow 6 and should give you a taste of some of the new functionality that we are developing. The layout files gener
Re: MapWindow 4 Print Layout Plug-in
Posted by:
bmarch ()
Date: September 17, 2009 09:42PM
Hi Tom,
Since the layout plug-in is under development it is built against the latest binary currently on the SVN. I'm afraid that is really the only version I can guarantee it will work with.
If you want to use if, for now you will have to get a copy of MapWindow 4 from the repository here:
[svn.mapwindow.org]
remember to run regMapWinGIS.cmd once you downloaded that to register the OCX or it wont work.
Has anyone tried the layout engine with earlier version, I haven't theoretically if could work although I can't say because I've never tried it.
Brian
Since the layout plug-in is under development it is built against the latest binary currently on the SVN. I'm afraid that is really the only version I can guarantee it will work with.
If you want to use if, for now you will have to get a copy of MapWindow 4 from the repository here:
[svn.mapwindow.org]
remember to run regMapWinGIS.cmd once you downloaded that to register the OCX or it wont work.
Has anyone tried the layout engine with earlier version, I haven't theoretically if could work although I can't say because I've never tried it.
Brian
Re: MapWindow 4 Print Layout Plug-in
Posted by:
bmarch ()
Date: September 17, 2009 09:46PM
Hey Everyone,
I've been working on a little side project to create an atlas generator for MapWindow 4. It is based on the layout engine and allows you to quickly generate a bunch of layouts and print them from a already created layout and a polygon shapefile to describe where each map should be centered.
You can get a copy of it here:
[svn.mapwindow.org]
just place it in the same folder and layout.dll, Make sure they are both up to date too since I had to make some changes to get it to play nice.
I also fixed the number of columns in legends not being saved, which I thought I had fixed before but well its fixed now = )
Brian
I've been working on a little side project to create an atlas generator for MapWindow 4. It is based on the layout engine and allows you to quickly generate a bunch of layouts and print them from a already created layout and a polygon shapefile to describe where each map should be centered.
You can get a copy of it here:
[svn.mapwindow.org]
just place it in the same folder and layout.dll, Make sure they are both up to date too since I had to make some changes to get it to play nice.
I also fixed the number of columns in legends not being saved, which I thought I had fixed before but well its fixed now = )
Brian
Re: MapWindow 4 Print Layout Plug-in
Posted by:
bmarch ()
Date: September 17, 2009 10:52PM
Hey,
One other thing, I added the ability to rotate the north arrow by a degree since someone asked for it and it was easy to do. This should NOT break your old layouts.
Brian
One other thing, I added the ability to rotate the north arrow by a degree since someone asked for it and it was easy to do. This should NOT break your old layouts.
Brian
Re: MapWindow 4 Print Layout Plug-in
Posted by:
jacksonmacd ()
Date: September 18, 2009 11:44PM
Brian - something's gone awry. MW raises an error dialog when I add a new map window to the layout. The error message appears immediately upon releasing the mouse button when designating the map space. Here is the top portion of text of the Windows error message:
MapWindow GIS 4.7.3 (2009-09-18)
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
MapWinUtility (debug reporter) Assembly Version: 2.0.4016.50727
Operating System: Win32NT
Service Pack: Service Pack 2
Major Version: 6
Minor Version: 0
Revision: 2
Build: 6002
------------End Debug Info------------------------
I deleted layout.dll from the computer, then tried printing. The conventional print dialog appears. Downloaded layout.dll again, but the error still appears. Error message does not appear if I revert to SVN build 9370.
Any ideas what to try?
Jack
MapWindow GIS 4.7.3 (2009-09-18)
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
MapWinUtility (debug reporter) Assembly Version: 2.0.4016.50727
Operating System: Win32NT
Service Pack: Service Pack 2
Major Version: 6
Minor Version: 0
Revision: 2
Build: 6002
------------End Debug Info------------------------
I deleted layout.dll from the computer, then tried printing. The conventional print dialog appears. Downloaded layout.dll again, but the error still appears. Error message does not appear if I revert to SVN build 9370.
Any ideas what to try?
Jack
Re: MapWindow 4 Print Layout Plug-in
Posted by:
bmarch ()
Date: September 20, 2009 01:12AM
Hey Jack,
I think I might have committed a version that was built against an older set of DLLs. Hopefully I got it fixed now, if not I'll take another look tomorrow.
Brian
I think I might have committed a version that was built against an older set of DLLs. Hopefully I got it fixed now, if not I'll take another look tomorrow.
Brian
Re: MapWindow 4 Print Layout Plug-in
Posted by:
pmeems ()
Date: September 21, 2009 12:45AM
Quote
tomc Wrote:
-------------------------------------------------------
>
> Am using MW 4.7.909 and the current layout.dll
>
> haven't upgrade to latest version of MW due to the
> need to keep using ECW images, and tech support
> are not keen on frequent updates here.
Tom, the latest version of MW4 supports ECW again. So you can update to v4.7RC3.
The new RC (v4.7RC4) is scheduled for the end of the month. And the stable version (v4.7SR) is scheduled for mid October.
Hope it help.
Paul
--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group
Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.
---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS
Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl
*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn
Re: MapWindow 4 Print Layout Plug-in
Posted by:
bmarch ()
Date: September 21, 2009 03:09PM
Ok I tested it at the office it seems to work fine.
That should fix it Jack.
Brian
That should fix it Jack.
Brian
Re: MapWindow 4 Print Layout Plug-in
Posted by:
jacksonmacd ()
Date: September 22, 2009 04:33PM
Brian - still no success. Tried on two computers (WinXP and Vista) with failure on both. It throws an error message as soon as I try to drag-drop a map onto the print layout. Some things I have tried:
- open a print layout when MW itself is "empty" (no shapefiles currently displayed). Success.
- click the "zoom map to extent of data" (even though there is NO data). Success.
- Alt-Tab back to MW and open a project. Alt-Tab to the print layout and click the "zoom to extent" button. Error message is thrown and the entire layout window is replaced with a big red "X" with red border.
- restart MW. Use empty project. Open the layout window. Open a previously-saved layout containing only a map. Success.
- restart MW. Open a project with several layers. Open the layout window and open the same layout file. Error message is thrown "Out of memory".
Here is the contents of the layout window:
<MapWindowLayout>
<Element Name="Map 1" RectangleX="171.75441" RectangleY="172.193" RectangleWidth="634.9123" RectangleHeight="571.228" ResizeStyle="NoScaling">
<Map EnvelopeXmin="-2.2011411114549944" EnvelopeYmin="-1.9803577752282133" EnvelopeXmax="2.2011411114549944" EnvelopeYmax="1.9803577752282133" />
</Element>
</MapWindowLayout>
If it was just on the one computer, I would suspect something wrong with the computer. But it's exhibiting the same behaviour on two computers. As before, if I revert to SVN revision 9370, then it works properly. I've re-registered the OCX. Any other ideas what I could try?
Jack
- open a print layout when MW itself is "empty" (no shapefiles currently displayed). Success.
- click the "zoom map to extent of data" (even though there is NO data). Success.
- Alt-Tab back to MW and open a project. Alt-Tab to the print layout and click the "zoom to extent" button. Error message is thrown and the entire layout window is replaced with a big red "X" with red border.
- restart MW. Use empty project. Open the layout window. Open a previously-saved layout containing only a map. Success.
- restart MW. Open a project with several layers. Open the layout window and open the same layout file. Error message is thrown "Out of memory".
Here is the contents of the layout window:
<MapWindowLayout>
<Element Name="Map 1" RectangleX="171.75441" RectangleY="172.193" RectangleWidth="634.9123" RectangleHeight="571.228" ResizeStyle="NoScaling">
<Map EnvelopeXmin="-2.2011411114549944" EnvelopeYmin="-1.9803577752282133" EnvelopeXmax="2.2011411114549944" EnvelopeYmax="1.9803577752282133" />
</Element>
</MapWindowLayout>
If it was just on the one computer, I would suspect something wrong with the computer. But it's exhibiting the same behaviour on two computers. As before, if I revert to SVN revision 9370, then it works properly. I've re-registered the OCX. Any other ideas what I could try?
Jack
Re: MapWindow 4 Print Layout Plug-in
Posted by:
bmarch ()
Date: September 22, 2009 09:32PM
Jack are you using a copy of MapWindow from the SVN? or from a regular install?
I built it against the SVN so its possible changes have been made to the ocx that aren't backwards compatible. I'll try using it a regular install and see what I get.
Brian
I built it against the SVN so its possible changes have been made to the ocx that aren't backwards compatible. I'll try using it a regular install and see what I get.
Brian
Re: MapWindow 4 Print Layout Plug-in
Posted by:
jacksonmacd ()
Date: September 23, 2009 12:32PM
I am using the latest SVN release.
To be clear, I am not compiling original source code. I download the binaries from [svn.MapWindow.org] (The BIN folder on the SVN site).
As a test, I renamed the existing MW folder on this computer, and downloaded the SVN binaries into a new folder. Downloaded the layout.dll. The same error message appeared.
Edited 2 time(s). Last edit at 09/23/2009 01:40PM by jacksonmacd.
To be clear, I am not compiling original source code. I download the binaries from [svn.MapWindow.org] (The BIN folder on the SVN site).
As a test, I renamed the existing MW folder on this computer, and downloaded the SVN binaries into a new folder. Downloaded the layout.dll. The same error message appeared.
Edited 2 time(s). Last edit at 09/23/2009 01:40PM by jacksonmacd.
Re: MapWindow 4 Print Layout Plug-in
Posted by:
bmarch ()
Date: September 23, 2009 03:38PM
Hi Jack, Paul,
Alright I've tracked down the problem. From what I can tell its not in the layout plug-in. Paul a change was made in Revision 9371 of the binary that broke shape editing. (It crashes when you insert the shape into a shapefile)
Jack if you wanna get up and running again, try reverting the main MapWindow Bin folder to revision 9370.
Also guys I've decided to stop using ILmerge to create a single assembly. From now on you will need to checkout both MapWindow.dll and mwLayout.dll from:
[svn.MapWindow.org]
and place them both in your
Bin\ApplicationPlugins\mwLayout
folder.
The reason for this is that it was starting to become annoying having to build a merge every time I made a change and maintenance will be easier like this for weekly builds.
Brian
Edited 2 time(s). Last edit at 09/23/2009 03:59PM by bmarch.
Alright I've tracked down the problem. From what I can tell its not in the layout plug-in. Paul a change was made in Revision 9371 of the binary that broke shape editing. (It crashes when you insert the shape into a shapefile)
Jack if you wanna get up and running again, try reverting the main MapWindow Bin folder to revision 9370.
Also guys I've decided to stop using ILmerge to create a single assembly. From now on you will need to checkout both MapWindow.dll and mwLayout.dll from:
[svn.MapWindow.org]
and place them both in your
Bin\ApplicationPlugins\mwLayout
folder.
The reason for this is that it was starting to become annoying having to build a merge every time I made a change and maintenance will be easier like this for weekly builds.
Brian
Edited 2 time(s). Last edit at 09/23/2009 03:59PM by bmarch.
Re: MapWindow 4 Print Layout Plug-in
Posted by:
jacksonmacd ()
Date: September 23, 2009 05:05PM
Brian - thanks for looking into it. Good to hear that it wasn't just me losing my mind!
Will the layout.dll be incorporated into the weekly builds? Seems like it's putting an extra burden onto you to maintain that additional mapwindow.dll.
Will the layout.dll be incorporated into the weekly builds? Seems like it's putting an extra burden onto you to maintain that additional mapwindow.dll.
Re: MapWindow 4 Print Layout Plug-in
Posted by:
pmeems ()
Date: September 25, 2009 01:02AM
Brian,
I'm a bit confused. Do you mean we need to revert back to revision 9371 or is it all working again with the latest version of MapWindow?
We had some issues with inserting shapes that was introduced by Sonia's team when improving the table.cpp. Sonia has already fixed that.
I will also add your plug-in to the weekly build script.
I leave you in charge of making sure the mapwindow.dll is up to date.
Paul
--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group
Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.
---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS
Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl
*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn
I'm a bit confused. Do you mean we need to revert back to revision 9371 or is it all working again with the latest version of MapWindow?
We had some issues with inserting shapes that was introduced by Sonia's team when improving the table.cpp. Sonia has already fixed that.
I will also add your plug-in to the weekly build script.
I leave you in charge of making sure the mapwindow.dll is up to date.
Paul
--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group
Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.
---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS
Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl
*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn
Re: MapWindow 4 Print Layout Plug-in
Posted by:
bmarch ()
Date: September 25, 2009 01:12PM
Hi Paul,
There seems to be a new bug in the latest release. I add a layer to the map and the remove it and then it throws an out of memory exception. I don't think its in my code because it happens the very first time I add and remove the layer.
The last version that it works in is 9370, All the revisions since then seem to throw different errors. (the shapefile error, which seems fixed and later this out of memory error)
Brian
There seems to be a new bug in the latest release. I add a layer to the map and the remove it and then it throws an out of memory exception. I don't think its in my code because it happens the very first time I add and remove the layer.
The last version that it works in is 9370, All the revisions since then seem to throw different errors. (the shapefile error, which seems fixed and later this out of memory error)
Brian
Re: MapWindow 4 Print Layout Plug-in
Posted by:
bmarch ()
Date: October 09, 2009 02:17PM
Hey everyone,
ok so after some time trying to fix this, it looks like we've gotten it all ironed out. The layout engine and atlas plug-in have been integrated into a single plug-in which will included in the release candidate of MapWindow 4.7.
If you can't wait for it, a fresh checkout of the MapWindow4Dev/bin folder will have it already ready for you.
Remember to register the OCX
Brian
ok so after some time trying to fix this, it looks like we've gotten it all ironed out. The layout engine and atlas plug-in have been integrated into a single plug-in which will included in the release candidate of MapWindow 4.7.
If you can't wait for it, a fresh checkout of the MapWindow4Dev/bin folder will have it already ready for you.
Remember to register the OCX
Brian
Re: MapWindow 4 Print Layout Plug-in
Posted by:
bmarch ()
Date: November 04, 2009 06:47PM
Hey guys,
So its been a little while since I posted anything about the layout engine for a little while. A few bug fixes have been thrown at it by various contributors (Thank you all for helping)
I was wondering if anyone has any feature requests that would go directly with the layout engine before I start digging into another big project and promptly forget how this thing works? So if you got any requests, please post em here in the next couple days.
Brian
So its been a little while since I posted anything about the layout engine for a little while. A few bug fixes have been thrown at it by various contributors (Thank you all for helping)
I was wondering if anyone has any feature requests that would go directly with the layout engine before I start digging into another big project and promptly forget how this thing works? So if you got any requests, please post em here in the next couple days.
Brian
Re: MapWindow 4 Print Layout Plug-in
Posted by:
Zulu1 ()
Date: November 05, 2009 06:13AM
Hi Brian,
Several of our Search and Rescue dog teams have asked for the following:
Need ability to display grid lines in pre selected datum on the map for navigational purposes
Need ability to print a grid ruler around map perimeter
Your plug-in is the main reason why we are starting to use Mapwindow GIS for SAR field teams in the Commonwealth of Massachusetts.
Thanks for your hard work,
Andy
Edited 1 time(s). Last edit at 11/05/2009 06:14AM by Zulu1.
Several of our Search and Rescue dog teams have asked for the following:
Need ability to display grid lines in pre selected datum on the map for navigational purposes
Need ability to print a grid ruler around map perimeter
Your plug-in is the main reason why we are starting to use Mapwindow GIS for SAR field teams in the Commonwealth of Massachusetts.
Thanks for your hard work,
Andy
Edited 1 time(s). Last edit at 11/05/2009 06:14AM by Zulu1.
Re: MapWindow 4 Print Layout Plug-in
Posted by:
bmarch ()
Date: November 06, 2009 07:04PM
Hey Andy,
Thanks really cool that you guys have decided to use MapWindow on account of my humble little plug-in.
Grid lines on a specific datum would probably be easier to do by finding a relevant shapefile and labeling it along the lines.
Grid ruler could be a bit challenging, on account of the need to tightly interact with the data and specifically projection of the map from the layout side of things. (The layout engine is pretty ignorant of the what its drawing) I'll need to think about it a bit, sadly nothing simple is jumping to mind at the moment...
OK guys simple requests next please = )
Brian
Thanks really cool that you guys have decided to use MapWindow on account of my humble little plug-in.
Grid lines on a specific datum would probably be easier to do by finding a relevant shapefile and labeling it along the lines.
Grid ruler could be a bit challenging, on account of the need to tightly interact with the data and specifically projection of the map from the layout side of things. (The layout engine is pretty ignorant of the what its drawing) I'll need to think about it a bit, sadly nothing simple is jumping to mind at the moment...
OK guys simple requests next please = )
Brian
Re: MapWindow 4 Print Layout Plug-in
Posted by:
tgdye ()
Date: December 10, 2009 09:36PM
This works fine in Windows XP, but I just cannot get it to work under Windows 7.
Re: MapWindow 4 Print Layout Plug-in
Posted by:
pmeems ()
Date: December 11, 2009 03:27AM
What works fine and what doesn't.
Which version of MW are you using?
Are you running a 32Bit or 34Bit version of Windows 7
--
Paul
--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group
Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.
---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS
Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl
*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn
Which version of MW are you using?
Are you running a 32Bit or 34Bit version of Windows 7
--
Paul
--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group
Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.
---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS
Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl
*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn
Sorry, only registered users may post in this forum.


