Skip to content

Instantly share code, notes, and snippets.

View chingchai's full-sized avatar
:octocat:
Focusing

Chingchai Humhong chingchai

:octocat:
Focusing
View GitHub Profile
@chingchai
chingchai / SLD Complex Zoom-based level
Last active November 27, 2016 08:08
SLD Simple Zoom-based level
<?xml version="1.0" encoding="TIS-620"?>
<sld:StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" version="1.0.0">
<sld:UserLayer>
<sld:LayerFeatureConstraints>
<sld:FeatureTypeConstraint/>
</sld:LayerFeatureConstraints>
<sld:UserStyle>
<sld:Name>_p1_a24_vill</sld:Name>
<sld:Title/>
<sld:FeatureTypeStyle>
@chingchai
chingchai / QGIS-calculate-field-rai-ngan-and-square.md
Last active October 15, 2016 02:47
การคำนวณเนื้อที่ไร่ งาน และตารางวา ในโปรแกรม QGIS

Author: Chingchai Humhong (chingchai.h@gmail.com)

Date: 2016/10/15

1. create field rai ngan and sqrwa in QGIS

  • rai type integer length 5
  • ngan type integer length 5
  • sqrwa type double length 10,2

2. calculate field rai in QGIS

floor($area/1600)