mapmanager's Issues
MapManager - bigint type is not listed in the FID Column combobox
Download links are not valid
The download links listed at https://github.com/DMS-Aus/MapManager#downloads result in a 404 Not Found error.
I have downloaded and installed MapManager 1.1 from https://www.gisinternals.com/mapmanager.html, but when I tried to open an ECW image, I encountered an error. I see there is GDAL ECW driver mentioned at https://github.com/DMS-Aus/MapManager#downloads and hoped that this would enable MapManager to support ECW images, but the link is broken.
Pan function does not work correctly on rotated maps
Set ANGLE 90 for the rotation of the map in the map file!
Choose the Pan function due to move the map by drag-and-drop!
If you try to move the map to the north with a downward directed drag-and-drop operation than the map move to the east with the same distance.
The blue cross show the center of the screen.
Implement Add Graticule Layer
In a rotated map the select function does not select point feature
Trying to select a point feature does not work if the ANGLE is not 0 in map file.
The coordinates of the same point with 0 degree rotation are:
256443 5212654
but with a 90 degree rotation they are:
256553 5212559
with a 1454 zoom value (though I used the pawn cursor for getting these coordinates, these differents are too great)
Result of the selection without rotation
Add support for setRotation
Selecting features at large zoom levels may cause nullreference exception
Query fails when combination of DEM + Vector
Querying DEM pixels works successfully until you add another layer into the mapfile.
Basically if you just have the DEM layer you can do a select and it works, if there is another layer selectable you get the error
Style properties - Fill Patterns does not work
I'm using mapmanger version:
MapServer version 7.0.1
GDAL 2.1.0, released 2016/04/25
proj Rel. 4.8.0, 6 March 2012
geos 3.4.3-CAPI-1.8.3 r4038
zlib 1.2.3
libcurl/7.37.1 OpenSSL/1.0.1h zlib/1.2.3
I'm not able to make a fill patterns other than defaults (ex. Horizontal-1).
See the images attached to this issue.
Please correct me if I'm wrong
Many thanks
Michele
Anchorpoint is not saved in symbols with type TRUETYPE
After saving a map file containing TRUETYPE symbol definitions with ANCHORPOINT, the anchorpoint is missing:
Example: Before save
SYMBOL
NAME "2"
TYPE TRUETYPE
CHARACTER "A"
ANCHORPOINT 0 1
FONT "alfa"
END
After save
SYMBOL
NAME "2"
TYPE TRUETYPE
CHARACTER "A"
FONT "alfa"
END
The same phenomenon occurs when I switch to the map and back to the text of the map file.
That is why I cannot use anchorpoint with this kind of Symbols, but for example with VECTOR type symbols everything works well.
MapManager crashes if shapefile does not have PRJ file
MapServer version 8.0.0
GDAL 3.6.3, released 2023/02/23
proj Rel. 9.1.1, December 1st, 2022
geos 3.10.2-CAPI-1.16.0
zlib 1.2.11
libcurl/7.79.1-DEV OpenSSL/1.1.1l zlib/1.2.11
Steps to replicate:
- Create empty map file
- Add a shapefile without a PROJ
Simon
Add capability to feature sub-class on an attribute
If I have a shapefile with an attribute field 'fclass' I would like to create as many sub-classes as there are unique values.
Ideally I would like the rendering to be set to that of the parent initially.
A vector file cannot be opened in a folder named with accentuated letters.
Add support for direct image drawing
By retrieving the pixel buffer directly and not using png/jpg encoding
Modify MapManager so that shape files are added as Native shape in the Add Vector Layer dialog
Styles' OFFSET values are saved as ints though they are doubles.
In mapserver.h (row 1006) we can see the styleObj struct has offsetx and offsety. They are double.
mapserver.h
struct styleObj{
...
double offsetx, offsety; /* for shadows, hollow symbols, etc... */
...
}
According to this we can see in mapfile.c (row 2726 and 2736) they are treated as doubles when they are loaded in.
mapfile.c
int loadStyle(styleObj *style)
{
...
case(OFFSET):
if((symbol = getSymbol(2, MS_NUMBER,MS_BINDING)) == -1) return(MS_FAILURE);
if(symbol == MS_NUMBER)
style->offsetx = (double) msyynumber;
else {
...
if(symbol == MS_NUMBER)
style->offsety = (double) msyynumber;
else {
...
}
But in mapfile.c (row 2986) the style is saved by a writeDimension (mapfile.c row 525) function which wait ints on its 4th and 5th operands
that is why the OFFSET value of styleObj losts the precision of double when the map file is saved.
mapfile.c
...
static void writeDimension(FILE *stream, int indent, const char *name, int x, int y, char *bind_x, char *bind_y)
{
writeIndent(stream, ++indent);
if(bind_x) msIO_fprintf(stream, "%s [%s] ", name, bind_x);
else msIO_fprintf(stream, "%s %d ", name, x);
if(bind_y) msIO_fprintf(stream, "[%s]\n", bind_y);
else msIO_fprintf(stream, "%d\n", y);
}
...
void writeStyle(FILE *stream, int indent, styleObj *style)
{
...
writeDimension(stream, indent, "OFFSET", style->offsetx, style->offsety, style->bindings[MS_STYLE_BINDING_OFFSET_X].item, style->bindings[MS_STYLE_BINDING_OFFSET_Y].item);
...
}
The solution for this issue could be anther writeDimension function with 2 double operands.
Fix color handling in MS7
Alpha values has been introduced in the colorObj constructor, the earlier setting causes fully transparent colors everywhere.
IndividualValuesTheme should allow to specify classitem instead of expression
Realtive path to font.list file cannot work.
The Map Server can handle the relative path to font.list and to the symbolset from the map.file.
The Map Manager does not allow to save a map file with a relative font.list path (FONTSET). That makes the software unflexible.
Show center position in status bar
Missing inline symbol definitions after setting the Map scale for a smaller value
Set the Map scale for a smaller value e.g. from 30227 to 30000 and push the Apply button.
All the symbol definitions are missing from the map file and due to this you get an error message:
The consequence is very similar to the phemomenon of the issue #22.
Implement query by shape
Installation on windows 10 home edition
Hi
Using the mapmanger.mis.exe on windows 10 home edition, displays a message stating this software
cannot run on this PC. Will there be a version to run on windows 10 home edition?
If not what is required to compile the software on windows 10 home edition?
Thanks
Aimee
Make the map and legend image rendering aware of resolution factor
Use the latest nuget version of the scintillanet control
This would help to eliminate the design time issues
Expose syntax color settings to program options.
Confused rendering of selected features with changed class order
Select 3 features (the first 3 in the list on the left):
Drag the 3rd in the row over the 1st one and you will see:
In this first permutation we can see that the Road became Train, the Highway became Road and the Train became Highway.
Now do the same again (put the third to the first place):
In the second permutation the Road became Highway, the Highway became Train and the Train became Road.
Now if you do the same again you will see everything get back to the first original situation
msProcessProjection() Error for "init=epsg:900913.
When I try to open a mapfile with PROJECTION set to "init=epsg:900913" the following error is thrown:
I try to add the projection definition in c:\Program Files (x86)\MapManager\ProjLib\epsg file but without success.
#900913
<900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids= <at> null +no_defs <>
Fix projection identification when adding a shape layer
Missing inline symbols because of wrong SYMBOLSET path handling.
If you edit the map file with Notepad++ and save it after setting the SYMBOLSET path relative to the map file.
(That is there is not a symbol file in the folder of the exe)
Open the map file in Map Manager and you will see that the inline symbols are not loaded.
If someone saves the map file (no noticing that the file was wrongly loaded) than he will lose all his inline symbol definitions.
In symbol definition characters (€-¢) are not shown and are not changable
Creating symbol definitions by code and saving by mapObj's save function you will find that loading in Map Manager the definitions look like this one:
SYMBOL
NAME "120"
TYPE TRUETYPE
CHARACTER ""
FONT "TC2A"
END
So the character is missing but opening the file with Notepad++ you can see an "HTJ" with black background color:
SYMBOL
NAME "120"
TYPE TRUETYPE
CHARACTER "�"
FONT "TC2A"
END
If you edit the map file and change the character to for example to "6" and see the map and nothing changes you will see the same sign as it was when you loaded in the map file. If you save it still there is not different but if you look the map file in Notepad++ you will see that:
SYMBOL
NAME "120"
TYPE TRUETYPE
CHARACTER "�6"
FONT "TC2A"
END
Anyway if the SYMBOLSET path pointing to a folder where is not the looked-for file than you will see:
SYMBOL
NAME "120"
TYPE TRUETYPE
CHARACTER "‰"
FONT "TC2A"
END
Which differs from the "".
Does MapManager manage includes?
To create large mapfiles as simple as possible, I frequently incorporate include as :
INCLUDE "../ec/connec_db_pg.map"
Does MapManager can manage them?
I know, that it's more a question than an issue.
Add text editor textwrapping option
new version source is not updated
why new version of MapManager is not published on git?
present version is 2-3 years old
[Question] Styling OGR layer
Hi @szekerest how are you ?
Do you have an example map file to style OGR layer ?
Eg. if I open a DXF file in MapManager, how do I target and style the layer ?
LAYER
CONNECTION "dxf1.dxf"
CONNECTIONTYPE OGR
NAME "line"
PROCESSING "GETSHAPE_STYLE_ITEMS=all"
STATUS ON
TEMPLATE "query.html"
TILEITEM "location"
TYPE LINE
UNITS METERS
CLASS
NAME "Class (0)"
STYLE
COLOR 0 0 0
SIZE 8
END # STYLE
TEMPLATE "query.html"
END # CLASS
CLASS
NAME "Class (1)"
STYLE
COLOR 0 0 0
END # STYLE
END # CLASS
END # LAYER
ogrinfo output:
OGRFeature(entities):224
Layer (String) = STOCKPILES
SubClasses (String) = AcDbEntity:AcDbPolyline
Linetype (String) = VULCAN_LINE_TYPE_1
EntityHandle (String) = BFC
Style = PEN(c:#ffbb00,w:0.3g,p:"0.024g 0.072g")
LINESTRING Z (1 1 411,2 2 411,3 3 411,4 4 411)
Adding localization support to MapManager
We need to localize the application to Hungarian language translation.
Linux port
Hi,
What about the folks out there with no Visual Studio, i.e. can we have a linux port please?
Cheers
Support for utf-8 or other encodings in expressions/filter
MapManager does not support mapfiles saved with uft-8 encoding.
Opens a mapfile in utf-8 and displays fine. But changing, for example, the filter query, will not encode characters correctly and corrupt the mapfile.
Add navigation history
We should implement "Back" and "Forward" menu items to be able to get back to earlier zoom settings easily. The following shortcut keys should also be implemented:
Back -> Alt + Left arrow
Forward -> Alt + Right arrow
The "Zoom To Initial extent" should now be implemented as getting back to the beginning of the history.
Enhance map selection
The following enhancements should be added:
- Add context menu to select list, implement "Center To Shape", "Go To Layer (Text)", "Go To Class (Text)"
- Add center marker (cross)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.