
    Dh                        S r SSKrSSKrSSKrSSKrSSKrSSKJr  SSKJ	r	J
r
  SSKJrJr  SSKJr  SSKJr  \R$                  " S5        \R&                  " S	S
9\R(                  " SSSSS9\R*                  " SSS\R,                  SS9\R.                  \R0                  \R2                  \R*                  " SSSS9\R4                  \R6                  \R*                  " SSSSS9\R*                  " SSSS9\R*                  " SSSSS9\R*                  " SSSS9\R8                  \R:                  \S  5       5       5       5       5       5       5       5       5       5       5       5       5       5       5       5       rg)!zfio-cat    N)transform_geom)FeatureObjectEncoder)optionswith_context_env)recursive_round)AttributeFilterErrordefaultz.Concatenate and print the features of datasets)
short_helpfilesTz	INPUTS...)nargsrequiredmetavarz--layerzInput layer(s), specified as 'fileindex:layer` For example, '1:foo,2:bar' will concatenate layer foo from file 1 and layer bar from file 2)r
   multiplecallbackhelpz"--ignore-errors/--no-ignore-errorsFz)log errors but do not stop serialization.)r
   r   z--bboxzw,s,e,nz/filter for features intersecting a bounding box)r
   r   r   z--wherez'attribute filter using SQL where clausez--cut-at-antimeridianzaOptionally cut geometries at the anti-meridian. To be used only for a geographic destination CRS.)is_flagr
   r   c                    SS0nU(       a  X=S'   U(       a  SUS'   U(       a  [         R                  " X5        [        S[        U5      S-   5       H1  n[	        U5      UR                  5       ;  d  M"  S/U[	        U5      '   M3      U(       a)   [        [        [        UR                  S5      5      5      n[        US5       GH  u  pU[	        U5          H  n[        R                  " U4S	U0UD6 nUR!                  XS
9 H  u  nnUR"                  nU(       a  [%        UR&                  UUU
S9nUS:  a  [)        UU5      n[+        UR,                  UR.                  U[        R0                  " U5      S9nU(       a  [2        R4                  " SSS9  [2        R4                  " [        R6                  " U4S[8        0UD65        M     SSS5        M     GM     g! [         a    [        R                  " U5      n GNGf = f! , (       d  f       GM;  = f! [:         a'  n[2        R<                  " S[	        U5      -   5      eSnAff = f)z
Concatenate and print the features of input datasets as a sequence of
GeoJSON features.

When working with a multi-layer dataset the first layer is used by default.
Use the '--layer' option to select a different layer.

	sort_keysTindent),:
separators   r   r   layer)bboxwhere)antimeridian_cutting)id
propertiesgeometryr   F)nlclsNz'where' clause is invalid: )r   validate_multilayer_file_indexrangelenstrkeystuplemapfloatsplit
ValueErrorjsonloads	enumeratefionaopenitemsr"   r   crsr   r   r    r!   boundsclickechodumpsr   r	   BadParameter)ctxr   	precisionr   compactignore_errorsdst_crsuse_rsr   r   cut_at_antimeridianr   open_options	dump_kwdsipathlyrsrcfeatgeomes                        `C:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\fiona/fio/cat.pycatrM      s   D d#I$(",	, ..u< 1c%j1n%q6%CE#a&M &%I(S

389 !*GASV}ZZ@C@<@C#&99$9#D4#}}"#1 # ' $5H	$D %>#24#CD&#ww'+%)!&d!3	  "!JJv%8

4::d#S#S#ST1 $E A@ % +  (zz$'(
 A@6   I  !>Q!GHHIsU   H (G 7<H 3CH	H  G?;H >G??H 
H	H 
I"II)__doc__r0   warningsr8   cligjr3   fiona.transformr   fiona.modelr   r   	fiona.fior   r   fiona.fio.helpersr   fiona.errorsr	   simplefiltercommandargumentoptioncb_multilayerprecision_opt
indent_optcompact_optdst_crs_opt
use_rs_optopen_optpass_contextrM        rL   <module>rd      s         * . / - -   i   JKrD+F""
, (	4
 		:	 	2
 	l	 i<>LI   >      G LVLIrc   