<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted2">
Jörg,<br class="ContentPasted2">
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted2">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
I meant that when checking in qgis no data is rendered, nothing is shown. I just tried:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted3">
<a href="https://pastebin.com/zgNes8PD" id="LPlnk199415">https://pastebin.com/zgNes8PD</a><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
QGIS connects with layer, but it seems like there is no data.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
and result remain the same - nothing was received.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
Thank you for fast reply,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
Marcin<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> MapServer-users <mapserver-users-bounces@lists.osgeo.org> on behalf of Jörg Thomsen (WhereGroup) <joerg.thomsen@wheregroup.com><br>
<b>Sent:</b> Tuesday, November 29, 2022 4:08 PM<br>
<b>To:</b> mapserver-users@lists.osgeo.org <mapserver-users@lists.osgeo.org><br>
<b>Subject:</b> Re: [MapServer-users] Shapefile data source doesn't work</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">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>
> MapServer-users@lists.osgeo.org<br>
> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">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>
joerg.thomsen@wheregroup.com<br>
<a href="http://www.wheregroup.com">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="http://twitter.com/WhereGroup_com">
http://twitter.com/WhereGroup_com</a><br>
<br>
_______________________________________________<br>
MapServer-users mailing list<br>
MapServer-users@lists.osgeo.org<br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div>
</span></font></div>
</body>
</html>