Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ldgarcia
ldgarcia / README.md
Last active June 2, 2020 18:24
GeoJsonItemExporter for Scrapy

About the GeoJsonItemExporter for Scrapy

The GeoJsoItemExporter creates a collection of features where the feature's geometry property is a point and its properties property is the item serialized into JSON format.

Every item must have a value for latitude and longitude in order to be exported. No validation is made to ensure the data is correct.

[Desktop Entry]
Type=Application
Name=Eagle PCB Design Software
GenericName=Eagle
Comment=PCB design: Schematic Capture, Board Layout, and Autorouter
Exec=/opt/eagle-7.3.0/bin/eagle
Icon=/opt/eagle-7.3.0/bin/eagleicon50.png
Terminal=false
Categories=Engineering;Electronics;
MimeType=application/x-eagle-schematic;application/x-eagle-board;application/x-eagle-project;

Keybase proof

I hereby claim:

  • I am ldgarcia on github.
  • I am ldgarcia (https://keybase.io/ldgarcia) on keybase.
  • I have a public key whose fingerprint is 8C5E CF84 ECF5 112B 2FF6 EBEC 6FA8 C06B D1AF 09F8

To claim this, I am signing this object:

# coding=utf-8
"""Common settings and globals."""
from os.path import abspath, basename, dirname, join, normpath
from os import environ
from sys import path
from oscar import get_core_apps
from oscar import OSCAR_MAIN_TEMPLATE_DIR
from oscar.defaults import *
{%- macro form_field_label(field) -%}
<label for="{{ field.id }}">{{ field.label.text }}
{%- if field.flags.required -%}
<abbr title="Diese Feld muss angegeben werden">*</abbr>
{%- endif %}</label>
{% endmacro %}
{%- macro form_field_description(field) -%}
{% if field.description %}
<span class="descr">{{ field.description }}</span>