New answers tagged

0

Just to help anyone else who ends up here as I did recently! There is a bug in GeoTools that prevents DESCENDING working as a sort order. See this PR for the fix which will be applied shortly.


0

I just found the solution (several minutes after..). Subfields have to be set to the fieldName: queryFilter.setSubFields(fieldName); and it works very fast!


0

@vink is correct. DGN is short form for 'design'.The file is used for storing CAD drawings. Most popular versions of DGN are v7 by Intergraph and v8 an improved version by Microstation.The internal format is described in dgnlib c/c++ library website.You may want to write your own parser looking at the format internals.If you want specifically in C# there is ...


1

You cannot simply print a class. If you want to do so, you have to add a toString() method to it. See e.g. http://stackoverflow.com/questions/8555771/why-is-the-tostring-method-being-called-when-i-print-an-object or http://stackoverflow.com/questions/8001664/how-to-create-a-println-print-method-for-a-custom-class or ...


3

You need to close the polygon by adding the start point to the end of the list of points that you build the WKT with. So change it to: for (var z = 0; z < arreglo.length; z++) { arreglo2.push(arreglo[z][0]+" "+arreglo[z][1]); } arreglo2.push(arreglo[0][0]+" "+arreglo[0][1]); But I'm pretty sure you can use the OpenLayers WKT ...



Top 50 recent answers are included