Hi Anneliese,
I just published the SHP you attached in Geoserver 2.6.2 and I can see
'≤' chars correctly displayed in GeoServer's OpenLayers-based preview :



Did you select the correct DBF charset when creating the store in
GeoServer?



Best regards,
Stefano

Il giorno mer, 13/05/2015 alle 01.14 -0700, AnnelieseBrouwer ha scritto:

> Hello community, 
> 
> It seems as if signs like 'b≤3.2' were not processed properly to dbf/shp
> files. 
> 
> I create shape files from JSON file with GDAL using the statement: 
> 
>   ds.CopyLayer(srcLayer, fileNameWithoutExtension, null); 
> 
> or with cpg file: 
> 
>   ds.CopyLayer(srcLayer, fileNameWithoutExtension, new string[] {
> "ENCODING=UTF-8" }); 
> 
> All shape files were created, we can see them in Geoserver Preview
> (OpenLayers). 
> 
> But we have problems with signs like '≤'. 
> In the JSON file those signs are fine but it looks like as if in the dbf
> file these signs were not written properly. Depending on what encoding we
> use in datasource.CopyLayer, you'll see a question mark or something else. 
> 
> We have tried using the config var. SHAPE_ENCODING but we did not get the
> right result. 
> 
> We think this is a GDAL issue? 
> We need those signs in our website (Geoserver,OpenLayers). 
> 
> We are using GDAL: x86, gdal-111-1600-core 
> Geoserver: 2.6.0 
> 
> Any idea what could be wrong and how we can solve this problem? 
> 
> Solve with GDAL?
> Or in Geoserver?
> 
> Any feedback is appreciated! 
> 
> Best regards, A. Brouwer 
> JSON_SHAPE.zip
> <http://osgeo-org.1560.x6.nabble.com/file/n5205499/JSON_SHAPE.zip>  
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Signs-like-b-3-2-from-json-dbf-not-showed-in-Geoserver-tp5205499.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud 
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to