[MapServer-users] Shapefile data source doesn't work

Rahkonen Jukka jukka.rahkonen at maanmittauslaitos.fi
Tue Nov 29 10:54:31 PST 2022


Hi,

I can see blue dots with this request

http://localhost:8060/cgi-bin/mapserv.exe?
map=c:/ms4w_data/aed.map&
REQUEST=GetMap&
SERVICE=WMS&
VERSION=1.3.0&
WIDTH=1000&
HEIGHT=525&
LAYERS=Latest&
TRANSPARENT=TRUE&
FORMAT=image%2Fpng&
BBOX=1532552.9142224141,6681474.69119125,2571584.460843797,7226966.2531674765&
CRS=EPSG:3857&
STYLES=default

by using a mapfile that I slightly modified for my local MS4W. I am not sure what is the difference and I let you to find it out.

MAP
NAME "AED"
EXTENT 1584202.7350061805918813 6301803.1952485935762525 2675789.3720532376319170  7329216.3261622246354818

UNITS METERS
SIZE 512 512
IMAGETYPE PNG
SHAPEPATH "/data/"
CONFIG "MS_ERRORFILE" "c:\ms4w_data\aed.txt"

PROJECTION
    "init=epsg:3857"
END
WEB
   # IMAGEPATH "/tmp/"
   # IMAGEURL "/tmp/"
    METADATA
      "wms_title"           "AED"
      "wms_onlineresource"  "***" #must change mapfile path
      "wms_srs"             "EPSG:3857"
      "wms_enable_request"  "*"
      "wms_server_version" "1.3.0"
      "wms_feature_info_mime_type" "text/html"
      "wms_include_items" "all"
      "wms_getcapabilities_version" "1.3.0"
    END
END

                          SYMBOL
                            NAME "circlef"
                            TYPE ellipse
                            FILLED true
                            POINTS
                            10 10
                            END # POINTS
          END # SYMBOL


LAYER
                          NAME "Latest"
                          STATUS ON
                          TYPE POINT
                          DEBUG 5
                          DATA "C:\ms4w_data\syf\aed_poland.shp"
                          PROJECTION
                                                    "init=epsg:3857"
                          END
                              CLASS
                                  NAME "AED"
                                  STYLE
                                    COLOR 0 0 255
                                    SYMBOL "circlef"
                                    SIZE 10
                                  END
                                END
    END
END
END

-Jukka Rahkonen-

Lähettäjä: Marcin Niemyjski <mniemyjski at cloudferro.com<mailto:mniemyjski at cloudferro.com>>
Lähetetty: tiistai 29. marraskuuta 2022 18.29
Vastaanottaja: Rahkonen Jukka <jukka.rahkonen at maanmittauslaitos.fi<mailto:jukka.rahkonen at maanmittauslaitos.fi>>; joerg.thomsen at wheregroup.com<mailto:joerg.thomsen at wheregroup.com>; Marcin Niemyjski via MapServer-users <mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>>
Aihe: Re: [MapServer-users] Shapefile data source doesn't work

of course, and thank you for helping!
link:
https://cloudferro-my.sharepoint.com/:f:/p/mniemyjski/Es6KvPu4ETtKvOJjs2p7ztkBLIIBjdm1aVU3epU5Sa11LQ?e=x5IYRs<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcloudferro-my.sharepoint.com%2F%3Af%3A%2Fp%2Fmniemyjski%2FEs6KvPu4ETtKvOJjs2p7ztkBLIIBjdm1aVU3epU5Sa11LQ%3Fe%3Dx5IYRs&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C4cc17fc7cc3e48a4789f08dad226c6ff%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C638053361243558379%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=6ewjeBbvrEbvlOygzPUXyNlqRdgfqjsHV7NQ1DMaa0s%3D&reserved=0>
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20221129/a4d923e5/attachment-0001.htm>


More information about the MapServer-users mailing list