[Shapelib] I Can't display attributes from a shapefile generated with shapelib

Joaquin Perez Valera joaquinperezvalera at gmail.com
Thu Sep 18 20:20:55 PDT 2008


Hi everybody, another time

I made a program to create polygons in a shapefile, from a table in a csv
file.
The things went good, but today I wanted to display an attribute contained
in the dbf file, and the arcmap didn't display the
name of the polygon. I thought that it was a problem with my version of
arcgis, but then I tried to show a label of other shapefile, wich I created
within arcmap. And in the same layer it was possible to show the attrib from
the second shape, and was not possible to show the label of the first shape,
created with shapelib.

Somebody has seen this?

Well, thanks for your help.

Joaquin, from Mexico





2008/9/5 <shapelib-request at lists.maptools.org>

> Send Shapelib mailing list submissions to
>        shapelib at lists.maptools.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.maptools.org/mailman/listinfo/shapelib
> or, via email, send a message with subject or body 'help' to
>        shapelib-request at lists.maptools.org
>
> You can reach the person managing the list at
>        shapelib-owner at lists.maptools.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Shapelib digest..."
>
>
> Today's Topics:
>
>   1. Re: Adding new shape to shapefile (thecrashteam)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 5 Sep 2008 00:17:54 -0700 (PDT)
> From: thecrashteam <didier.romain at gmail.com>
> Subject: Re: [Shapelib] Adding new shape to shapefile
> To: shapelib at lists.maptools.org
> Message-ID: <19326130.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Hi everybody,
>
> Sorry for the delay but I had lot of work !
> Concerning the dll problem, I solved it with a friend's help. I clarify
> that
> the C++ dll was wrapped in a C# dll and it didn't work in my program.
> So, the problem was the difference of the encoding strings between C # and
> C++. I just have to convert C# strings (encoded in UNICODE) in ASCII (C++
> encoding strings). My friend has written an other C# wrapped dll which
> supports byte[] in place of strings in all methods that take into setting a
> string.
> Why byte[] ? because it's the returned value of the
> System.Text.Encoding.Convert method.
> Thank you all for your help.
>
> I hope this post will help other people.
>
> Romain.
> --
> View this message in context:
> http://www.nabble.com/Adding-new-shape-to-shapefile-tp17536792p19326130.html
> Sent from the ShapeLib mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>
> _______________________________________________
> Shapelib mailing list
> Shapelib at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/shapelib
>
>
> End of Shapelib Digest, Vol 50, Issue 1
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/shapelib/attachments/20080918/83d0a4bd/attachment.html>


More information about the Shapelib mailing list