Hi
A shape 'file' save all attribute values in a dBase file, normaly a null
value is made up off spaces - hex 20 - but some applications use hex 00
instead. You can check this out by opening the dbf file in a hexadecimal
editor - ex. Ultraedit. Note ind the header section off the dbf file there
will be a lot off 00, so you will have to scroll down until you get the the
datasection starting with a hex 0D.
This could be your the case, as hex 00 and the other control carecters would
show up as a small box in a normal texteditor.
You can use the below function to remove all non printing carecters from
your attribute before the test
proc dropNonPrint {attr} {
FME_SetAttribute $attr [ regsub -all -- [^[:print]] [FME_GetAttribute
$attr ] {} ]
}
Peter
>From: "mark2atsafe" <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: [fme] Re: Tester failing to recognize null values?
>Date: Mon, 09 Jul 2007 22:25:20 -0000
>
>--- In [email protected], "jamison_leach" <[EMAIL PROTECTED]> wrote:
> >
> > I did some more research about this issue. It seems that I have
> > this problem with fields of type 'text' added manually to my
> > shapefile in the GIS.
> >
> > Writing the field out to a .csv file returns five characters that
> > look like boxes (I can't paste them in the message).
>
>That's interesting. I wonder if it is a character encoding problem -
>are you running FME on the same system that you are using to manually
>add the fields? Are there special characters? Is the GIS an ESRI
>product or a different application that just happens to use Shapefiles?
>
>If you want to send it to us at [EMAIL PROTECTED] we'd be interested to
>investigate and find out what's going on.
>
>Regards,
>
>Mark
>
_________________________________________________________________
Få 250 MB gratis lagerplads på MSN Hotmail: http://www.hotmail.com
For insights into what's up at Safe Software and what's on the development
horizon, visit Safe's blog at spatial-etl.blogspot.com.
Love FME? Then open your diary to March 6-7, 2008 and write this... "Second
Worldwide FME User Conference - Must Attend!" See
http://www.safe.com/company/fmeuc2008/index.php for more details.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/fme/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/fme/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/