<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.Shkpostityyli20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Please show the extent of the shapefile as ogrinfo shows it. Verify that EPSG:3857 is correct for the data. And capture the GetMap request that QGIS is sending.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">-Jukka Rahkonen-<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Lähettäjä:</b> MapServer-users <mapserver-users-bounces@lists.osgeo.org>
<b>Puolesta </b>Marcin Niemyjski via MapServer-users<br>
<b>Lähetetty:</b> tiistai 29. marraskuuta 2022 17.21<br>
<b>Vastaanottaja:</b> Jörg Thomsen (WhereGroup) <joerg.thomsen@wheregroup.com>; Marcin Niemyjski via MapServer-users <mapserver-users@lists.osgeo.org><br>
<b>Aihe:</b> Re: [MapServer-users] Shapefile data source doesn't work<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">Jörg,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">I meant that when checking in qgis no data is rendered, nothing is shown. I just tried:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black"><a href="https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2FzgNes8PD&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C27e07b284c8d40f88a5a08dad21d589f%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638053320739795925%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Gzp%2F1udB2ObKRzgmWp7NZn3NedFdcDWDPAff3iujt3Q%3D&reserved=0">https://pastebin.com/zgNes8PD</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">QGIS connects with layer, but it seems like there is no data.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">and result remain the same - nothing was received.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">Thank you for fast reply,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:12.0pt;color:black">Marcin<o:p></o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> MapServer-users <<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>> on behalf of Jörg Thomsen (WhereGroup) <<a href="mailto:joerg.thomsen@wheregroup.com">joerg.thomsen@wheregroup.com</a>><br>
<b>Sent:</b> Tuesday, November 29, 2022 4:08 PM<br>
<b>To:</b> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a> <<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>><br>
<b>Subject:</b> Re: [MapServer-users] Shapefile data source doesn't work</span> <o:p>
</o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">Hi,<br>
<br>
for shp you don't need connectiontype and connection, only data is <br>
required. Try the absoulte path to your shp.<br>
<br>
Wht do you mean with 'map does not show'? white / blank image? This is <br>
often caused by a mismatsch bewtween epsg und extent. Or an error-msg? <br>
what does it say?<br>
<br>
Jörg<br>
<br>
Am 29.11.22 um 15:52 schrieb Marcin Niemyjski via MapServer-users:<br>
> Hello,<br>
> <br>
> I have a problem rendering vector layer. The data does not show. My mapfile:<br>
> <br>
> MAP<br>
> NAME "AED"<br>
> EXTENT 1584202.7350061805918813 6301803.1952485935762525 <br>
> 2675789.3720532376319170  7329216.3261622246354818<br>
> UNITS METERS<br>
> SIZE 512 512<br>
> IMAGETYPE PNG<br>
> SHAPEPATH "/data/"<br>
> <br>
> PROJECTION<br>
>      "init=epsg:3857"<br>
> END<br>
> WEB<br>
>      IMAGEPATH "/tmp/"<br>
>      IMAGEURL "/tmp/"<br>
>      METADATA<br>
>        "wms_title"           "AED"<br>
>        "wms_onlineresource"  "***" #must change mapfile path<br>
>        "wms_srs"             "EPSG:3857"<br>
>        "wms_enable_request"  "*"<br>
>        "wms_server_version" "1.3.0"<br>
>        "wms_feature_info_mime_type" "text/html"<br>
>        "wms_include_items" "all"<br>
>        "wms_getcapabilities_version" "1.3.0"<br>
>      END<br>
> END<br>
> <br>
> <br>
> LAYER<br>
>    NAME "my_shapefile"<br>
>    STATUS ON<br>
>    TYPE POINT<br>
>    STATUS ON<br>
>    CONNECTIONTYPE OGR<br>
>    CONNECTION "/DyskPlanetiler/OSM/aed_poland.shp"<br>
>    DATA "aed_poland"<br>
>    CLASS<br>
>        NAME "AED"<br>
>        STYLE<br>
>          COLOR 246 241 223<br>
>          OUTLINECOLOR 255 0 0<br>
>          SYMBOL 'circle'<br>
>          SIZE 20<br>
>        END<br>
>      END<br>
>    END<br>
> <br>
> END<br>
> <br>
> I will be grateful for any tips.<br>
> Best,<br>
> Marcin<br>
> <br>
> <br>
> _______________________________________________<br>
> MapServer-users mailing list<br>
> <a href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a><br>
> <a href="https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C27e07b284c8d40f88a5a08dad21d589f%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638053320739795925%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ud4X1RXjKsViKGEm6X2a39Z5%2FDyLYMJEkYU0LKgRkpg%3D&reserved=0">
https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
-- <br>
Viele Grüße,<br>
Jörg Thomsen<br>
<br>
---------------------------------------------<br>
Where2B Konferenz 2022<br>
15. Dezember 2022 in Bonn und Online<br>
where2b-conference.com<br>
---------------------------------------------<br>
<br>
Jörg Thomsen<br>
WhereGroup GmbH<br>
Bundesallee 23<br>
10717 Berlin<br>
Germany<br>
<br>
Tel: +49 (0)30 / 5130 278 74<br>
Fax: +49 (0)30 / 5130 278 11    <br>
<br>
<a href="mailto:joerg.thomsen@wheregroup.com">joerg.thomsen@wheregroup.com</a><br>
<a href="https://eur06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wheregroup.com%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C27e07b284c8d40f88a5a08dad21d589f%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638053320739795925%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=llpcSag0pP5wmW6JpS4NxTQ2Z14htmvK43PDbRtZ9B8%3D&reserved=0">www.wheregroup.com</a><br>
<br>
Geschäftsführer:<br>
Olaf Knopp, Peter Stamm<br>
Amtsgericht Bonn, HRB 9885<br>
<br>
-------------------------------<br>
Folgen Sie der WhereGroup auf twitter: <a href="https://eur06.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.com%2FWhereGroup_com&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C27e07b284c8d40f88a5a08dad21d589f%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638053320739795925%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=22Fit3BE0tzCjan4DIE2Nn0wmVAGWCoVNeZn9dBrqrA%3D&reserved=0">
http://twitter.com/WhereGroup_com</a><br>
<br>
_______________________________________________<br>
MapServer-users mailing list<br>
<a href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a><br>
<a href="https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C27e07b284c8d40f88a5a08dad21d589f%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638053320739795925%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ud4X1RXjKsViKGEm6X2a39Z5%2FDyLYMJEkYU0LKgRkpg%3D&reserved=0">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>