Tag Info

Hot answers tagged

3

There are a number of definitions to "centroid", but the most common solution for labeling a linear feature involves either the midpoint along the arc or the midpoint of the longest segment on the arc. Averaging the vertices is unlikely to be "on" the feature and will over-emphasize the significance of short segments. If it's acceptable for the label to be ...


2

I have same problem, my understanding is that the stored data is correct, if you consider it a binary utf-8 encoded data, to convert this data to nvarchar i wrote this (partially tested) UDF function in sql server: CREATE FUNCTION varbinUTF8_to_nvarchar ( @data VARBINARY(MAX) ) RETURNS NVARCHAR(MAX) AS BEGIN DECLARE @n INT DECLARE @buffer ...


1

This issue has been discussed on the GeoServer mailing list here: http://comments.gmane.org/gmane.comp.gis.geoserver.user/44081 Basically this comes from a (faulty) security update from Microsoft that has been updated, see this link from MS: https://support2.microsoft.com/kb/2992611


1

I do not have an SQL Server table available to test this, but I was surprised to see you using pyodbc in this workflow. I recommend that you try to use a Query Layer: A query layer is a layer or stand-alone table that is defined by a SQL query. ... You can persist a query layer by exporting it to a feature class.


1

Since you've already got a list of dicts, you can use Shapely (to manage the geometry) and Fiona (to write the shape file). from shapely.geometry import mapping from shapely.wkt import loads from fiona import collection schema = {'geometry': 'Point', 'properties': {'atribute1':'value', 'atribute2':'value'}} with collection("output.shp", "w", "ESRI ...


1

Given that I am still in 10.1, if you reconcile and post, but there is a lock on the feature class, the dates and editors will not be posted to the business table. If you need to see the data immediately for reporting purposes or other pressing reason(s), you can see the editor tracking information in the Adds table (a table) for that particular feature ...



Only top voted, non community-wiki answers of a minimum length are eligible