[geos-devel] [question]
Mateusz Loskot
mateusz at loskot.net
Fri Apr 17 05:43:58 EDT 2009
LiN YongHeng wrote:
> Hello everyone,
Hello,
Please, let me to repeat myself:
"Use meaningful, specific subject headers"
http://www.catb.org/~esr/faqs/smart-questions.html#bespecific
Subject: [question] is far from being meaningful.
> Please look at the second parameter of
> GEOSWKBWriter_setIncludeSRID's function,like
> this---GEOSWKBWriter_setIncludeSRID(GEOSWKBWriter* writer, const char
> writeSRID). It use the const char to define the writeSRID, so it
> means that the writeSRID's value not more than 256?
The writeSRID is a flag which indicates if SRID should be written or
not. In other words, writeSRID is considered as of type of bool.
writeSRID = 0 means false.
Check implementation of geos::io::WKBWriter::setIncludeSRID() and
you will understand how it works.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the geos-devel
mailing list